ItemsAdderAdditionsItemsAdderAdditions
Actions

Clear Item

Remove custom or vanilla items from a player's inventory as an ItemsAdder action.

Since v1.0.0
clear_item:
  item: my_item
  amount: 2 # optional, default: 1

Parameters

item

Required. The item to remove. Use a vanilla material from this list, or a custom ItemsAdder item with namespace:id or just id.

amount

Optional. Defaults to 1. The number of items to remove.

On this page