mojira.dev
MCPE-217781

Entities using multiple render controllers and the “is_hurt_color” field causes game crash when entity is damaged

Including the is_hurt_color field within slime.render_controllers.json causes a game crash when a Slime is damaged. The bug is reproducible in 1.21.90.20 Preview but not in 1.21.73 Hotfix. It is unknown whether the bug is reproducible in 1.21.80. This impact resource packs that change the hurt color of Slime mobs, or mobs in general.

As per the comments, other mobs are also affected, such as:

  • Breeze

  • Iron Golem

  • Villager

  • Pig

  • Creaking

Steps to reproduce the issue:

  1. Download the provided resource pack in Minecraft Preview

  2. Apply it in Global Resources

  3. Enter a World

  4. Spawn a Slime

  5. Attack the Slime

Expected result:

The Slime is damaged and the game continues to function.

Actual result:

The game crashes.

Linked issues

Attachments

Comments 3

This also affects some other mobs. I do not have a full list as of yet, but here are a few:

  • Iron golem

  • Breeze

My guess is that any entity using a “blend” material (semitransparent pixels) will cause a game crash. This also means that the “on_fire_color” could be affected too.

Can confirm. I was able to discover the source of the issue too. Here is a list of entities I found to be affected (not exhaustive by any means):

  • Slime

  • Breeze

  • Iron Golem

  • Villager

  • Pig

  • Creaking

The common thread between all these entities is that they use multiple render controllers. Please update the report to specify that entities using multiple render controllers and the “is_hurt_color” field crash the game.

The bug is now fixed in 1.21.90.21 Preview.

Lisa Su

(Unassigned)

1410331, 1410227

Community Consensus

Windows

11

1.21.90.20 Preview

1.21.90.21 Preview

Retrieved