Set [amount] [slotitem] in slot [slotid] of [item] if it has inventory

Set [amount] [slotitem] in slot [slotid] of [item] if it has inventory. Procedure block in the item category. It runs an action.

Set amountslotitem in slot slotid of item if it has inventory
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
slotidPlug-in valueNumber
itemPlug-in valueMCItem
slotitemPlug-in valueMCItem
amountPlug-in valueNumber