Skip to content

Add enchantment item

Adds an enchantment to the item in a specified slot, such as the player's hand or inventory.

Attributes

Attribute Aliases Description Default
slot s The equipment slot where the item is located. See EquipmentSlot for valid values. HAND
enchantment enchant, e The enchantment to apply. Use names from the Enchantment. FIRE_ASPECT
level l The level of the enchantment to apply. 1

Example

Skills:
- addenchantmentitem{e=SHARPNESS;l=2} @self

Aliasses

  • itemcaster:addenchantmentitem
  • itemcaster:enchantitem
  • itemcaster:enchant
  • enchantitem
  • enchant