Set Console Command for Block
kill @e[type=minecraft:item,distance=..30]
@s = self · @p = nearest player · @a = all players · @e = all entities
Previous Output
-Intermediate · 1 block
Press a button to remove dropped items within 30 blocks of the Command Block, reducing leftovers in an arena or farm.
What you need
Expected result
Dropped-item entities within a 30-block radius are 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 block near the center of the area and add a warning before players can press it.
kill @e[type=minecraft:item,distance=..30]
@s = self · @p = nearest player · @a = all players · @e = all entities
-If it does not work