mojira.dev
MC-274904

Giving a mace to an allay makes it invincible to damage

What I expected to happen was...:
That i could kill an allay holding a mace unenchanted

What actually happened was...:
the mace made the allay invincible when he was holding it

Steps to Reproduce:
1. summon an allay
2. take a mace
3. put it into the allays hands

4. try to kill it

Linked issues

Attachments

Comments 2

I wonder what's the difference between this and MC-249718? The allay cannot be hit because you gave it an item, thus becoming its "liked player". If you summon such an allay with command, you can still hit it normally.

The command I used is:

/summon minecraft:allay ~ ~ ~ {HandItems: [{count: 1, id: "minecraft:mace"}]}

No difference, just couldn't see a parent report. Thanks for pointing one out

its_JiNX_1

(Unassigned)

Confirmed

Items, Mob behaviour

1.21

Retrieved