Started by
VeryBadCreator
on
Topic category: Help with Minecraft modding (Java Edition)
I want to create a ranged weapon which has multiple types of projectiles which have different effects. However, I need the weapon to have infinite ammo and that the projectiles just rotate in a specified order with short cooldowns in between before repeating the loop, and the end of each loop is a long cooldown for the weapon. Im quite inexperienced with mcreator so I don't know if this is even possible
I alrdy made the textures and models in blockbench but I was also wondering if I could make them change each time a projectile is fired so the player know which projectile they are on currently
Edited by VeryBadCreator on Wed, 11/29/2023 - 10:19
Make the weapon not need ammo, and have a variable to control what is fired. Say, you have six projectiles, have the variable start at 1, and change by 1 until 6, when it resets. Use the trigger, on the ranged item used, if the variable equals 1, fire projectile 1. Search cooldown in the procedures, and put that block after it fires. You can set the cooldown to be longer or shorter. Tell me if you need more help.
How do I create the variable and where do I add the different types of projectiles?