
[1.21.x-alpha 12] Enchantment modifier doesn't revokes with toggle power
DanieleKie opened this issue ยท 0 comments
modify_enchantment
doesnt revoke modifier automatically when i use it with power_active
condition. Its does only when i manually updating the slot (puttin on the boots or drop and pickin up the crossbow). Yes, that's happens with other enchantments.
I made that power work by using grant_power
action but it would be nice if that bug will be fixed.
{
"type": "origins:multiple",
"toggle": {
"type": "origins:toggle",
"active_by_default": false,
"key": {
"key": "key.origins.secondary_active"
}
},
"walk": {
"type": "origins:modify_enchantment_level",
"condition": {
"type": "origins:power_active",
"power": "*:*_toggle"
},
"enchantment": "minecraft:multishot",
"modifier": {
"operation": "add_base_early",
"amount": 1
}
}
}