mojira.dev
MC-200898

Mobs are immune to armor stand Thorns

The bug

You can make a armorstand and put armor with thorns on it, and when you hit it you get damaged. However, zoglins or any other mobs don't take any damage.

To reproduce

1.Run this command in a command block to spawn the armor stand:

/summon armor_stand ~3 ~ ~ {equipment:{head:{id:diamond_helmet,components:{enchantments:{thorns:3}}},chest:{id:diamond_chestplate,components:{enchantments:{thorns:3}}},legs:{id:diamond_leggings,components:{enchantments:{thorns:3}}},feet:{id:diamond_boots,components:{enchantments:{thorns:3}}}}}

2.Spawn a Zoglin and observe what happens.

Observed results

Zoglin cannot take damage.

Expected results

Zoglin take damage.

Linked issues

Attachments

Comments 20

Hi, I can confirm

Also works with other mobs via commands.

Thanks for letting me know. I edited the title.

Can confirm in 20w51a.

Can confirm in 21w03a.

10 more comments

Can confirm in 1.18.2 and 22w11a.

Can confirm in 1.19.

Can confirm in 1.19.1.

himazinn_Japan

Can confirm in 1.21.4. I would like to request ownership as currently the reporter is not active from 2020.

Granted, you are now the owner 🙂

SlicedBlock

himazinn_Japan

(Unassigned)

Confirmed

Gameplay

Normal

Combat, Entities

armor_stand, thorns

1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w49a, ..., 1.21.4, 25w02a, 25w06a, 1.21.5, 25w18a

Retrieved