Set damage of [item] to [amount]

Set damage of [item] to [amount]. Procedure block in the item category. It runs an action.

Set damage of item to amount
Category
Item
Block type
Action block (stacks under a trigger)
Returns
Action (no value)
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
amountPlug-in valueNumber
itemPlug-in valueMCItem