Started by
ImSeyo
on
Topic category: Help with Minecraft modding (Java Edition)
I need to add not one walking animation to my mob, but several. What for? For example, if my mob holds a certain object while walking, then..
In general, I need to make a check when my mob is standing and doing nothing (is in idle position) and when my mob is walking
Edited by ImSeyo on Fri, 07/12/2024 - 04:29
maybe you could check if x velocity and z velocity are both 0 to determine if the mob is standing.
If you need jump/fall animations as well, you could detect y velocity.
hi ik im late but how did you fix it
sinsamvae I didn't use it myself, as it turned out to be a useless feature.
But, as the guy above said, you can make a check if x and y and z movement delta = 0 (that is, it stands still), then reproduce your procedure. Otherwise, if it is greater than 0, then also reproduce your procedure