Minecraft Wiki
Advertisement
Ingredients Crafting recipe
Stick +
Gold Ingot +
Gold Nugget

Trigger Type Message
Item does not exist Failure Unknown item <item id>
/clear <selector> <item id><--[HERE]
Item tag does not exist Failure Unknown item tag <tag id>

The player has an empty inventory
The player does not have the specified items

Failure

Single player: No items were found on player <player name>
Multiple players: No items were found on <number> players[verify]

The selector targets non-player entities Failure Only players may be affected by this command, but the provided selector includes entities
No players are affected given the selector Failure No player was found
Items are removed from the inventory Success

Single player: Removed <number> items from player <player name>
Multiple players: Removed <number> items from <number> players[verify]

The maxCount is set to 0 and the player has the specified items in their inventory Success

Single player: Found <number> matching items on player <player name>
Multiple players: Found <number> matching items on <number> players[verify]

Advertisement