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
| Name | Type | Optional | Description |
|---|---|---|---|
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
| Name | Type | Description |
|---|---|---|
item |
item_stack | The modified ItemStack clone. |
Examples
Create a named sword
Create an iron sword with a custom name and lore.
- Create Item (IRON_SWORD) → Item Modify
- String Literal ("&6Excalibur") → displayName
- List Create + List Add ("&7A legendary blade") → lore
- Item Modify → item → Player Give Item