Item item/modify

Item Modify

Returns a modified clone of an ItemStack. Only connected optional inputs are applied.

Note: The original item is never changed. Only inputs that are connected change the clone. Chain multiple Item Modify nodes for complex transformations.

Inputs

NameTypeOptionalDescription
item item_stack The source ItemStack (will be cloned, not mutated).
displayName string New display name — supports & color codes.
lore list New lore lines as a list of strings.
amount number New stack size.
damage number Durability damage to apply (0 = undamaged).
customModelData number Custom model data value.

Outputs

NameTypeDescription
item item_stack The modified ItemStack clone.

Examples

Create a named sword

Create an iron sword with a custom name and lore.

  1. Create Item (IRON_SWORD) → Item Modify
  2. String Literal ("&6Excalibur") → displayName
  3. List Create + List Add ("&7A legendary blade") → lore
  4. Item Modify → item → Player Give Item