I am adding in an entity identical to the Creeper. I have an Idle animation, a Running animation, and a Walking animation. At the moment, the Idle and Walk animations are conflicting whenever it stands still, causing a jittery movement. Though I followed the Minecraft modding course by KaupenJoe to a tee, my animations seem to conflict with the code which Kaupen wrote.
- I would like to implement the walk animation to only play when it is randomly walking.
- I would like to implement the Idle animation only when it is idle, standing still.
- I would like to implement the running animation to play when the creeper is targeting another entity, because it speeds up in movement.
Any help is appreciated! Here is a gist of my current Model.java.
Let me know if you need any more info! Thank you in advance.