Modify Enchantment Level

Power Type

Modifies the entities enchantment levels.

Type ID: ope:modify_enchantment_level

Fields

Field Type Default Description
enchantment String ID of the enchantment to modify
modifier Attribute Modifier This modifier will be applied to the enchantment.

Example

{
    "type": "ope:modify_enchantment_level",
    "enchantment": "infinity",
    "modifier": {
      "operation": "addition",
      "value": 1
    }
}
This would cause the holder to have the infinity enchantment permanently. You can use a condition to ensure the held item has fire aspect on it already to amplify existing effects.