Started by
Werem
on
Topic category: Help with Minecraft modding (Java Edition)
Hi all, I've been looking for a very long time for information on this topic: How to make an animation of an object? For example, the player right clicks the mouse holding the object in his hands and he plays the animation. I did not find any information, except geckolib but do not know how to work with objects. Please help, I will be insanely grateful.
As you said, geckolib does that. I will link the tutorial on how to set it up.
https://mcreator.net/forum/93274/tutorial-how-use-nerdys-geckolib-plugin-40-20224
Now, it is a bit complicated if you have not done it before but nerdy has explained it very well in his tutorial. And for your idea, if you mean object as an item in your hand you can make a procedure to activate one of your animations after the item has been right clicked.