Need Help with Bypassing Attack Speed with /give attributes [1.12.2]

Started by TherapueticLiz on

Topic category: Help with modding (Java Edition)

Last seen on 22:10, 22. Aug 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need Help with Bypassing Attack Speed with /give attributes [1.12.2]
Wed, 10/28/2020 - 19:28 (edited)

Okay so, ive found a way to bypass the broken 1.12.2 attackspeed modifier by using /give @p MODNAME:ITEMNAME 1 0 {AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:4,Operation:0,UUIDMost:45859,UUIDLeast:123134},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:15.2,Operation:0,UUIDMost:23032,UUIDLeast:163747}]} But it would require you to constantly input the command to get the various attributes.
Ive also noticed this gives the weapon  NBT data, is it possible to apply the NBT data to the weapon? 
Im wondering if anyone else is interested to help find a way to use the attributes in /give to make it so that weapons can use these attributes, without having to be registered as SPECIAL and losing the ability to enchant.

I could really use a hand!

Edited by TherapueticLiz on Wed, 10/28/2020 - 19:28
Last seen on 22:10, 22. Aug 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still haven't found a…
Wed, 10/28/2020 - 19:30

Still haven't found a solution! Really would appreciate if someone could lend a hand