How do you edit the attack speed? And how do you change reach? MCR 1.9.1

Started by FunHD2 on

Topic category: Help with modding (Java Edition)

Last seen on 16:54, 1. Sep 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you edit the attack speed? And how do you change reach? MCR 1.9.1

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!

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the attack speed lock…
Fri, 11/01/2019 - 13:18

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.

Last seen on 16:54, 1. Sep 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm very sorry, but your…
Fri, 11/01/2019 - 14:15

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...

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
FunHD2, the only problem…
Fri, 11/01/2019 - 23:16

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

Last seen on 16:54, 1. Sep 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No... just no... I don't…
Sun, 11/03/2019 - 13:03

No... just no...

I don't even have this line! I'm just annoyed...

Did you even check your own swords?

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't need custom attack…
Sun, 11/03/2019 - 13:36

I don't need custom attack speed. Please respect people that is trying to help you.

Last seen on 02:05, 30. May 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
These features will be added…
Sun, 11/03/2019 - 15:56

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.

Last seen on 05:14, 23. Feb 2020
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Only axes have an attack…
Tue, 12/03/2019 - 02:26

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.