
Durability module destroys item attributes added with CraftTweaker's addGlobalAttributeModifier.
cfnnit opened this issue ยท 1 comments
`<item:twilightforest:steeleaf_helmet>.addGlobalAttributeModifier(<attribute:irons_spellbooks:max_mana>, "1a9a8f0e-5382-11ee-8c99-0242ac120002", "Max Mana", 40, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:head>]);
<item:twilightforest:steeleaf_helmet>.addGlobalAttributeModifier(<attribute:irons_spellbooks:spell_power>, "2a9a8f0e-5382-11ee-8c99-0242ac120002", "Spell Power", 0.025, AttributeOperation.MULTIPLY_BASE, [<constant:minecraft:equipmentslot:head>]);
<item:twilightforest:steeleaf_chestplate>.addGlobalAttributeModifier(<attribute:irons_spellbooks:max_mana>, "1b9a8f0e-5382-11ee-8c99-0242ac120002", "Max Mana", 40, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:chest>]);
<item:twilightforest:steeleaf_chestplate>.addGlobalAttributeModifier(<attribute:irons_spellbooks:spell_power>, "2b9a8f0e-5382-11ee-8c99-0242ac120002", "Spell Power", 0.025, AttributeOperation.MULTIPLY_BASE, [<constant:minecraft:equipmentslot:chest>]);
<item:twilightforest:steeleaf_leggings>.addGlobalAttributeModifier(<attribute:irons_spellbooks:max_mana>, "1c9a8f0e-5382-11ee-8c99-0242ac120002", "Max Mana", 40, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:legs>]);
<item:twilightforest:steeleaf_leggings>.addGlobalAttributeModifier(<attribute:irons_spellbooks:spell_power>, "2c9a8f0e-5382-11ee-8c99-0242ac120002", "Spell Power", 0.025, AttributeOperation.MULTIPLY_BASE, [<constant:minecraft:equipmentslot:legs>]);
<item:twilightforest:steeleaf_boots>.addGlobalAttributeModifier(<attribute:irons_spellbooks:max_mana>, "1d9a8f0e-5382-11ee-8c99-0242ac120002", "Max Mana", 40, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:feet>]);
<item:twilightforest:steeleaf_boots>.addGlobalAttributeModifier(<attribute:irons_spellbooks:spell_power>, "2d9a8f0e-5382-11ee-8c99-0242ac120002", "Spell Power", 0.025, AttributeOperation.MULTIPLY_BASE, [<constant:minecraft:equipmentslot:feet>]);`