Started by
im memiest
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod using the player animator api that plays an animation when the player walks , but don't know how to detect the player walking.
Edited by im memiest on Tue, 10/18/2022 - 21:24
Check that the x and z velocity of the player isn't 0. Checking the y velocity will only matter if you care about whether or not the player is falling or climbing.
Thanks!
This doesn't work. Velocity will only change if your jumping, falling or flying. Not walking or running
There is a Client Side Event(Global Trigger in MCreator) that checks if you use the Movement Input.