Started by
JadeMC_838
on
Topic category: Help with Minecraft modding (Java Edition)
I have "created" and "coded" a spear (I use those terms lightly, as the texture for the item was made with the mcreator texture generator), using this tutorial. https://www.youtube.com/watch?v=-WVVlWCQtlA
I have encountered a few issues, one being the use animation plays over and over again. My other issues were fixed, like I accidentally toggled the feature that puts the projectile on fire. Does anyone know how to fix the spear so the animation doesn't play over and over?
all minecraft animations actually play over and over, like block animations, entity animations like the warden, etc.. idk how the bow animation is done but you could use different items and procedures which would be a hassle, or you could look into how vanilla minecraft does it. not a good solution but i guess the animation isn't super important, you could just have an item called a spear and then an item called a throwing spear and switch it out when the player starts using it.