Mojira Archive
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.

Invalid

destruc7i0n

2019-03-21, 01:07 AM

2019-06-04, 05:25 PM

2019-06-04, 05:25 PM

1

2

Unconfirmed

1.11.0.7 Beta, 1.10.0

-