Remove [amount] [item] from [entity] main inventory

Remove [amount] [item] from [entity] main inventory. Procedure block in the player category. It runs an action.

Remove amountitem from entity main inventory
Category
Player
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
itemPlug-in valueMCItem
amountPlug-in valueNumber
entityPlug-in valueEntity