How do I make a custom Item animation.

Started by Prespro111 on

Topic category: Help with modding (Java Edition)

Last seen on 00:18, 23. Jun 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a custom Item animation.

I want to add a reloading animation to a gun, but I cant seem to find a way to add model animations to items. If anyone knows how, it would be great.

Last seen on 01:07, 18. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Without code, this can be…
Thu, 06/23/2022 - 00:31

Without code, this can be done however it uses two elements:

1. Create two seperate items - one with a static texture, and one with the animation you wish to play.
2. When you trigger the reload, swap the items out and then swap them back once the animation is complete (animation time cannot be directly detected, but tinkering with a wait time block should work)

Last seen on 05:05, 19. Apr 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i apply an animation…
Tue, 03/07/2023 - 07:12

how do i apply an animation to an item? (i have a model from blockbench)

Last seen on 19:56, 13. Mar 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the GeckoLib…
Mon, 03/13/2023 - 19:56

You can use the GeckoLib Library, you will find tutorials on how to use it on YouTube, I will link you a Install Guide and First Steps. It lets you add Blockbench animated Items into mcreator and use blocks to play the animations. You are also able to add arm animations. I used the Library for a gun mod and it worked pretty well. Its very Easy to use

 

Install Guide and the Basics: https://mcreator.net/forum/93274/tutorial-how-use-nerdys-geckolib-plugin-40-20224