Skip to content

ItemEditSpell

Matthew Dam edited this page Jul 7, 2024 · 1 revision

Source Code

spell-class: "com.zanaddon.targeted.ItemEditSpell"

Description:

Edits selected item meta data


Option Description Type Default Supports expressions
items List of items to be affected by the spell. See below for formatting String List false
precision precision of which item to be affected. "FIRST" affects first item in inventory that matches, etc. Can either be one of the following: "FIRST", "LAST", "ALL", "HAND" HAND false
slots Overrides precision. Only checks the listed slots to see if it matches with items defined in "items". String List false
item-name Changes name of the selected item String true
item-lore Changes lore of the selected item String List true
custom-model-data Changes custom-model-data of the selected item Integer true
unbreakable Sets the unbreakable tag of the item Boolean true
enchantments List of enchantments to place on the selected item String List false
safe-enchants Defines if enchantments should bypass level restrictions Boolean true
enchantment-glint Defines if items should have an enchantment glint Boolean true

Clone this wiki locally