Started by
NathVer1
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I'm trying to make a mob (specifically an Animated Entity by the GeckoLib Plugin), instantly orient itself towards a point.
I've tried using both "Make [Entity] look at" and "Set Rotation of [Entity] Yaw / Pitch." In both cases, the mob rotates its body with a delay of about one second after the head, completely ruining the effect I want to achieve.
How can I achieve instant rotation?
Other things I've tried:
- Inserting the rotation procedure on multiple ticks.
- Disabling AI.
Additional information:
- [MCreator Version] 2023.3
- [Minecraft Version] 1.20.1
- [Plugins] Geckolib, Additions
The game does this automatically to make entity rotation look smoother. ...If you want to override it, you could maybe try running a teleport command with a specified rotation on the entity; or despawning the entity and replacing it with another entity oriented in the correct direction. (Teleportation is probably easier though, I'm pretty sure this'll work instantly.)
Thanks, I'll try as soon as I can