#Is it possible to modify weapon damage/attack speed

17 messages · Page 1 of 1 (latest)

desert tendonBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

molten zodiac
#

the base attack speed is 4

#

so you need to substract

sour salmon
#

subtract?

molten zodiac
#

and how dit it worked ?

sour salmon
#

it didnt work 😅

molten zodiac
#

exacly

#

StartupEvents.registry('item', event => {
event.create("hentai_sword", "sword")
.texture("minecraft:item/iron_sword")
.attackDamageBonus(34.)
.speedBaseline(-2.4)
.tooltip("ayaya ayaya")
}) try this

#

i hope i didn't get banned

#

i r read custom items

#

sorry

#

ItemEvents.modification(event => {
event.modify('minecraft:ender_pearl', item => {
item.maxStackSize = 64
item.fireResistant = true
item.rarity = "UNCOMMON"
item.attackSpeed = 1.6
})})

#

should work

sour salmon
#
  event.modify('allthemodium:allthemodium_sword', item => {
      item.attackDamage = 3
      item.attackSpeed = 1.6
  })
})
#

doesn't work ;_;

sour salmon
#

Does apothic attributes mess with this

#
  event.modify('cataclysm:tidal_claws', item => {
    item.setAttackDamage(100)
  });
})

ItemEvents.modification(event => {
  event.modify("iron_sword",
      item => {
          item.setAttackDamage(1)
      })
})```