mojira.dev
MC-165508

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

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

Linked issues

Attachments

Comments 9

Fixed in 1.15 Pre-Release 2 only for slimes.

Can confirm in 20w51a. As stated above, slimes have been fixed however, magma cubes are still affected.

Can confirm in 21w03a.

Can confirm in 21w13a.

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19.2 and 22w42a.

TheBoy358

(Unassigned)

Confirmed

Gameplay

Low

Commands

19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, ..., 1.21.4 Pre-Release 1, 1.21.4, 25w02a, 25w04a, 25w05a

Retrieved