Started by
rextir
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, as the title says, I want to detect when my mob is moving, this could be done in the event of when it is alive (by updating ticks).
The idea is that if it is moving it does not do "x" thing.
Before I think there was the possibility of detecting with a block if the entity moved, but in version 2024.1 (neoforge) no longer.
Store the xyz values of the entity incustom variables --> wait 1-2 ticks on server side check new position of entity with old one if its equal entity aint moving