Topic category: Advanced modding
Is it possible to slow down the rate of fire on the gun? I'm trying to add different guns but they just all fire at the same rate and, for example, I want to make a sniper and if the fire rate is low i could try and find sound affects of a shot and a reload and put them together and then put that into mcreator so it looks like you're reloading a shot when in reality it just has a slow rate of fire. I would also like to know if it's possible for having a reloading system so like after a certain amount of shots, it'll pause and then let you continue for example. Another thing I would like to know is I want the player to be able to Shift or Crouch and it scopes in or goes onto the Iron sight of the weapon. Any help? Thank you in advance
Not sure if it is possible.
I would like to see a slow down for the gun aswell!
You could use an NBT and when you fire, it sets the NBT to a certain value, and every tick, the value of that NBT decreases.
(This is similar to what I'm using in my new mod)