Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262314

Entities don't take damage from magma blocks if any block other than air is below the center of their hitbox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 23w18a
    • None
    • Confirmed
    • Mob behaviour, Player

      If an entity (in this case, the player) is standing on a magma block, they now take damage even if their hitbox is at the edge of the block due to the fix of MC-1133, which is expected.
      However, there's still some strange behavior where even if you stand at the very edge of the magma block and there is any block below you other than air, you don't take damage.

      Expected result
      Logically, if the entity hitbox is (barely) touching the magma block, it would deal damage to that entity, regardless of if there is a block or air below the entity.

      Observed result
      Damage can be avoided if the hitbox touches the magma block, if there's any other block below the entity other than air.

      How to reproduce

      1. Place a magma block and stand on the very edge.
      2. Notice how you take damage.
      3. Now place a block directly below you without moving.
      4. Notice how you no longer take damage.

        1. 2023-05-03_10.50.41.png
          379 kB
          syarumi
        2. 2023-05-03_10.50.50.png
          221 kB
          syarumi

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: