mojira.dev
MCPE-43517

The minecraft:health scripting component on various entities can crash the game

When running hasComponent() entity binding for the minecraft:health component on entities including:

  • boats

  • minecarts

  • paintings

  • ender crystals

  • leash knots

  • tnt

  • falling sand

  • fireballs

  • wither skulls

  • shulker bullets

  • llama spit

the binding returns true, due to how these entities have a "health" of sorts to allow players to punch to remove them.

On attempting to retrieve this component with a subsequent getComponent() entity binding, the game crashes instantly.

Comments 1

Thank you for your report!

Crashes such as these are logged automatically, and will be looked into further by the development team.

If you need help or support you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

destruc7i0n

(Unassigned)

Unconfirmed

Windows

Windows 10

1.11.0.7 Beta, 1.10.0

Retrieved