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

Magma cubes still deals damage when their generic.attack_damage attribute is set to 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 4, 1.15.2, 20w06a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13b, 20w14a, 20w16a, 20w17a, 20w21a, 1.16 Pre-release 1, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w49a, 20w51a, 21w03a, 21w13a, 1.17, 1.17.1, 21w43a, 21w44a, 1.18 Pre-release 2, 1.18 Release Candidate 1, 1.18.1, 1.18.2, 22w16b, 1.19.2, 22w42a, 22w43a, 22w44a, 22w45a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 1, 1.19.3, 23w06a, 1.19.4, 23w12a, 23w13a, 23w14a, 23w17a, 1.20.1, 23w32a, 1.20.2, 23w40a, 1.20.6, 24w20a, 1.21 Pre-Release 1, 1.21 Pre-Release 3, 1.21 Pre-Release 4, 24w33a, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 2, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 5, 24w44a, 1.21.3, 24w45a, 24w46a, 1.21.4 Pre-Release 1, 1.21.4
    • None
    • Confirmed
    • Commands
    • Low
    • Gameplay

      The bug

      Magma cubes still deals damage when their generic.attack_damage attribute is set to 0 despite MC-47091 is fixed.

      How to reproduce

      Summon a big Magma cube 

      /summon magma_cube ~ ~1 ~ {Size:10}
      

      now set the attribute generic.attack_damage to 0:

      /execute as @e[type=magma_cube] run attribute @s minecraft:attack_damage base set 0
      

       The magma cube still deals damage

            Unassigned Unassigned
            TheBoy358 TheBoy358
            Votes:
            16 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: