Topic category: Help with Minecraft modding (Java Edition)
Hello so I've just spent the last 10 hours researching how to do this mod with zero success. The basic mod premise is I want to create a musket gun mod similar to that found with this resource pack "https://www.youtube.com/watch?v=DEHaco-exJs&t=13s" but have it not replace the crossbow and be its own item. I have the models all made and animated. What I am having difficulty with is I am trying to achieve the same function as a crossbow that being that after holding the right mouse button for "x" amount of seconds the gun goes through its stages of animations and is primed so the next click will fire. I have no idea how to do any of that and after several days of attempts, lots of tutorials and Minecraft coding research I am at a loss of what to do. If anyone has any suggestions please please please let me know so I might try them out.
TLDR: I want to essentially duplicate the crossbow with animations and everything so I can have two separate crossbows in game. One that is vanilla and one that I can control its values and models.
How to make it without animations, and holding ammo:
Just make a ranged item with ridiculous values on range.
I know how to do it without animations, but I'm trying to make it with animations.