Jump to content

Trouble with Entity Animations (Minecraft 1.20.1)


EmmuSan

Recommended Posts

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.

Edited by EmmuSan
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.