Attack Speed doesn't work in 1.14.4

Published by fulimester on Sun, 05/24/2020 - 16:03
Can not reproduce
Issue description

I'm trying to make a sword with custom attack speed, but no matter what I do, it stays 1.6 (original).


The sword has Harvest Level: 0, Efficiency: 0, Enchanability: 15, Damage: 8, Number of uses: 59, and Attack Speed: 3.6.


How could I fix this issue? Is it possible to go into the code and change it there? If it is, what should I change there?

Issue comments

I have updated MCreator to 2020.3 and now I understand why it seemed so fast - as the new tip for Attack speed shows that the higher the value, the faster the tool. But now I would have a different question. How can I make my sword's attack speed 3.6 seconds? What value should I use? And how much should I decrease/increase the value if I want to decrease/increase the attack speed by (for example) 1 second?

I have made a tool (sword) in 1.14.4 with attack speed set to 2.3 and it was indeed 2.3.

When possible, attach your MCreator workspace (or even better a minimal example workspace required to reproduce the bug), game logs (full logs, do not crop them, in text format, not screenshots of logs) from the Console tab or terminal and steps to reproduce the bug in your workspace. If logs are long, use service such as Pastebin to host the log and provide the link to the log from the ticket. Please specify which mod elements to check in your workspace too, if applicable.

I hope it is not a problem, but in the meantime, I have updated MCreator to 2020.3 and my mod to 1.15.2. The result is the same: although it is set to 3.6 seconds, the attack speed is not 3.6 seconds.


Here is a link where you can download my workspace:


If you open Minecraft with my mod downloaded (1.15.2 Forge), and try any of the 5 Swords I have in my mod, you will see, that the attack speed of them is not 3.6 seconds, but much less. Don't worry, the mod doesn't have many elemnts, so you will find the swords easily :)

I don't think attack speed can be directly translated to seconds. I am not sure what units MC uses.

Ohhhh! Thank you very much for your response, I have learned something new today too :) This helps a lot, as my entire mod is based around new tools and swords. Also, hereby I suggest you to add the way attack speed works (1 / Attack Speed * 20) to the tip you get when you click on the question mark next to 'Attack speed' in the UI. 

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.