mojira.dev
MC-272939

Neutral mobs can attack players in creative mode if their NBT is updated every tick

1. Enter the following command into a powered, repeating command block.

execute as @e[type=minecraft:iron_golem] run data merge entity @s {PersistenceRequired:1b,Attributes:[{Name:generic.follow_range,Base:100}]}

2. Switch to survival mode and attack the Neutral mob

3. Change to Creative mode

relates to MC-146524, MC-153697, MC-165448

 

Linked issues

Attachments

Comments 3

Not only the Iron Golem, but also the bees and wolves were affected.

Can confirm in 1.20.6 and 1.21 Pre-Release 2

Would MC-146524 describe you're issue? If not, this relates to MC-146524 and MC-153697

Alex_light

(Unassigned)

Community Consensus

Platform

Low

Commands, Mob behaviour

1.20.6, 1.21 Pre-Release 2, 1.21.1

Retrieved