Set Console Command for Block
clear @p
@s = self · @p = nearest player · @a = all players · @e = all entities
Previous Output
-Intermediate · 1 block
Press a button to remove every item from the nearest player inventory, useful at a minigame reset point.
What you need
Expected result
Every item in the nearest player inventory is removed.
Configure one block at a time
The copy button copies only Command Input. Choose every other value in the Command Block screen.
Place the button where it cannot be pressed accidentally and add a warning sign.
clear @p
@s = self · @p = nearest player · @a = all players · @e = all entities
-If it does not work