Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-43517

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.11.0.7 Beta, 1.10.0
    • None
    • Unconfirmed
    • Windows

      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.

            destruc7i0n destruc7i0n
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: