Heyo, I am unable to set the digSpeed of tools in 1.21.1
I have a startup_script with the following code:
ItemEvents.modification(event => {
event.modify([
'minecraft:wooden_pickaxe',
'minecraft:wooden_axe',
'minecraft:wooden_shovel',
'minecraft:wooden_hoe',
'minecraft:wooden_sword'
], item => {item.digSpeed = 4})
})
But I get the error:
Error in 'ItemEvents.modification': [...] ItemModifications has no public instance field or method named digSpeed
Is there any fix for this? I understand you are normally supposed to use tiers for this but they are broken in 1.21, so am I just out of luck?
