0

I want to make some decorative "guard" mobs to stand next to my builds. Here is a command I tried to summon an Iron Golem that is frozen:

summon iron_golem ~ ~ ~ {NoAI:1b}

The Iron Golem still was able to move, even with NoAI:1b. Why is that?

5
  • Could you specify what line you used to make the frozen mobs, and also what is the problem? Do they move despite the tag or is the command itself giving an error?
    – A.Shetye
    Commented Nov 19, 2021 at 6:44
  • like are you talking snow golems or what?
    – user282297
    Commented Nov 19, 2021 at 20:39
  • @user282297 snow or iron goems Commented Nov 20, 2021 at 4:41
  • I'm not sure what you mean with "move". "Move" in the sense of walking on their own or being able to be pushed around? NoAI should only prevent the first kind of movement IIRC. Commented Nov 20, 2021 at 19:06
  • They move and turn. On a vid i watched they stayed still and didn't turn. @mindoverflow Commented Nov 21, 2021 at 2:51

2 Answers 2

2

That is weird considering that the command worked perfectly for me. It is also not quite possible that it took damage and moved because NoAI mobs would not move even when attacked, and they won't fall even if you spawn them mid air. Make sure that your syntax is totally correct and try the command again.

(ps: NoAI mobs can still be targetted by hostile mobs and killed so add {Invulnerable:1b})

0

I noticed that in videos there is a block that they spawn the mob in, so maybe try that and see if that works.

1
  • like a barrier block? Commented Nov 29, 2021 at 23:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .