There are no events on the wiki for 1.19 for item modification, only Legacy, so thats what I was going off of.
ItemEvents.modification(event => {
event.modify('mythicbotany:mjoellnir', item => {
item.maxDamage = 100
})
event.modify('mythicbotany:alfsteel_helmet', item => {
item.armorProtection = 4
item.armorToughness = 4
})
event.modify('mythicbotany:alfsteel_chestplate', item => {
item.armorProtection = 9
item.armorToughness = 4
item.armorKnockbackResistance = 11
})
event.modify('mythicbotany:alfsteel_leggings', item => {
item.armorProtection = 7
item.armorToughness = 3
})
event.modify('mythicbotany:alfsteel_boots', item => {
item.armorProtection = 4
item.armorToughness = 4
})
})
Thats what I have, but no modifications / changes are happening. This file exists in kubejs>startup scripts, and doesnt seem to throw any errors in startup.txt
