Started by
Cyclip
on
Topic category: Help with MCreator software
So I made a procedure that makes mobs freeze by doing /entitydata @e[x=x,y=y,z=z,r=7] {NoAI:1b} and it works (with the gamerule sendCommandFeedback false) fine.
When there's an error, like when the mob is already "frozen", it shows a bunch of red text in chat. Is there any way to hide it or not? Or is there another way?
Also now I'm thinking of setting another nbt tag (integer) to a random number so it will always change and not show, but I'll do that if there isn't any way to hide the red text.
Well instead of using /entitydata, you could give the entity slowness and jump boost 180. This would make it unable to jump or move, effectively freezing it.
Potion effect commands do not give error feedback if the provided entity already has the effect, so you wouldn't have to worry about your issue here.