Started by
Techno573
on
Topic category: Help with Minecraft modding (Java Edition)
In short, I want to make a ranged item that shoots a projectile that has a geckolib animated model. Is it possible to do this? If yes, how can I do it?
Topic category: Help with Minecraft modding (Java Edition)
In short, I want to make a ranged item that shoots a projectile that has a geckolib animated model. Is it possible to do this? If yes, how can I do it?
Yes, this is possible. Here is what I am using (fabric mappings). I based my code off the code in the Snow Golem. In summary, you need an item representing the projectile, an entity class which extends ThrownItemEntity and implements GeoEntity, as well as the normal classes for Geckolib animated models such as models, renderers, textures, etc.
I am still working on this myself. One thing that I am struggling with is figuring out how to rotate the model's MatrixStack witout the game crashing. I will post here when I figure that out.