Started by
FunHD2
on
Topic category: Help with Minecraft modding (Java Edition)
So, I made a dagger, and now I wanna edit the speed, because of it's low damage.
Because it's small, I also want lower reach, how do you do it tho?
With reach and attack speed I could make hammers, BATTLEaxes, daggers and more!
For the attack speed lock the code and edit the this.attackSpeed = -Number near the bottom. Make it smaller to make it faster, and bigger to make it slower.
I'm very sorry, but your response is not useful, like at all.
Can you make a detailed response, with individual steps?
I also heard that swords are somewhat broken...
FunHD2, the only problem with swords is that it automatically adds 4 damage to what you type. So if you want a 9 damage sword, you need to set damage as 5.
About your question, you need to first select your sword element(by left-clicking ONCE), then click the lock icon. Then there will be a pop-up asking if you want to lock the code. You click yes. Then you click the pen-on-the-notepad icon, so you can go to the item's code. You then find this line: this.attackSpeed = -Number (probably not this. , it is probably the name of the sword. ) you
change the negative number, you can test if making it closer to zero makes the speed slower or faster.
Bye
No... just no...
I don't even have this line! I'm just annoyed...
Did you even check your own swords?
I don't need custom attack speed. Please respect people that is trying to help you.
These features will be added in later updates if you're not able to get it working then just wait until they add the feature in MCreator. Like crispy_chips said people are trying to help so don't be rude.
Only axes have an attack speed line in their code so that sucks.
The new snapshot allows you to change speed so you should download that.
Sadly there I no current way to change reach.