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 Minecraft modding (Java Edition)

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!

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.

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

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

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?

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.

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.

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.