Started by
ivanwafles67
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a statue-sort of entity, and I want to it be immovable when spawned. To do this I tried checking the "disable collision box" box in the entity settings, however, the statue still is collide-able and "pushable". I also tried adding a custom code thing in the .java file (pictured), however, the statute still can be pushed. Is there another method or code I could use to get this to work? I want the statue to not be movable whatsoever by entities walking into it, even if that means they just walk through it.
Edited by ivanwafles67 on Thu, 06/10/2021 - 00:21
This will be fixed in 2021.2
living entities with nbt {NoAI:1} immune to pushing, maybe cmd can help?
/data merge entity @s {NoAI:1}