mojira.dev
MC-151468

replaceitem command stopping skeletons from attacking players

whenever running replaceitem, or a command that modifies the hand items or armor items of a skeleton, every tick in a function or repeating command block it keeps the skeleton from attacking the player. The skeleton just walks towards the player and won't shoot or attack in any way (this includes melee and swords along with bows)

Linked issues

Comments 5

Do you run the /replaceitem command in every tick? Or just once?

every tick

I can confirm. I tried running a command block that constantly gives a skeleton a totem and put it in their off hand. To my disappointment it just causes the skeleton to stop attacking.

Affects 20w49a

Can you provide the command being in use?

BronGhast

(Unassigned)

Community Consensus

(Unassigned)

command, command_block, datapack, functions, mob

Minecraft 1.14, Minecraft 1.14.2, 1.15.1, 1.16.1, 20w30a, 20w49a

Retrieved