Started by
GenjjaX
on
Topic category: User side tutorials
I am making a mod that introduces lightsabers (Or just swords) into the game, however, I am making certain lightsabers have more attack speed than other lightsabers. However, I dont have any indication of controlling that when making my lightsabers, I just need help on where to control attack speed. If you know, please help me. I would appreciate your help
Also, I am using MCreator 1.9.0
Instead of making the lightsabers a sword make them a special tool instead, then you can edit the code of the tool
find where it says this.attackDamage = 3f;
and change the number before F. Your attack speed will be 4 minus the number before f. the normal sword attack speed is 1.4
Where do I change code? When I go to the code button at the top, it doesn't allow me to press any of the buttons it drops down when I go to a specific weapon and I dont know how to use the Console code if that is the code you are referring to.
I did change the items to special as well.
Could you maybe guide me through that process if you can?