Site Icon Minecraft Commands Cheat Sheet

Examples

Clear your inventory

/clear

Clear a player's inventory

/clear Notch

Clear all wool from all players

/clear @a minecraft:wool

Test if a random player has stone in their inventory

/clear @r minecraft:stone 0

About

Clears items from player inventory, including items being dragged by the player.

Railroad

clear targets item max count
View on Minecraft Gamepedia
© 2020 by Taylor Gratzer. This page is not affiliated with Mojang Studios.