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

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

Set amountslotitem in slot slotid of entity if it has inventory
Category
Entity
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
entityPlug-in valueEntity
slotitemPlug-in valueMCItem
amountPlug-in valueNumber