Ground items in Minecraft can quickly cover the floor after mining, fighting mobs, or clearing an area. These dropped items are item entities: loose objects in the world that can usually be picked up, moved, or removed with commands. The fastest way to clear them is generally a targeted /kill command—but the right command depends on your edition, version, and whether you want to remove every dropped item or only those nearby.
This guide explains how to clear ground items in Java Edition and Bedrock Edition, how to limit a cleanup to a small area, and how to prevent items from piling up again. Use the broad commands carefully: clearing item entities can permanently remove valuable drops, including items you meant to collect.
The Fastest Way to Clear Dropped Items
If you have permission to use commands, open chat and run the command for your edition. In current versions of Java Edition, use:
/kill @e[type=minecraft:item]
In many versions of Bedrock Edition, use:
/kill @e[type=item]
These commands target item entities—the loose items lying on the ground—rather than every entity in the world. That distinction matters. Avoid running /kill @e by itself: it can remove mobs, armor stands, minecarts, boats, and other entities, depending on the command environment. The item-specific selector is much safer.
Commands require cheats or the appropriate operator permissions. In a single-player world, cheats may need to be enabled in the world settings. On a multiplayer server or Realm, you may need an operator role or permission from the owner. If the command is rejected, check your edition, version, permissions, and exact syntax.
How to Clear Items in Java Edition
Java Edition uses entity selectors to choose which entities a command affects. The @e selector means “all entities,” while type=minecraft:item narrows the target to dropped items.
-
/kill @e[type=minecraft:item]removes dropped item entities in the command’s dimension. -
/kill @e[type=minecraft:item,distance=..10]removes dropped items within 10 blocks of the command’s location. -
/kill @e[type=minecraft:item,distance=..3]removes dropped items within 3 blocks, useful for cleaning up a small area.
The distance selector is measured from the command’s execution position. When you enter the command in chat, that position is generally where your player is standing. A radius of 10 blocks is often a better choice than a world-wide cleanup if you want to keep items elsewhere.
Java commands have changed over the years. In versions before the 1.13 command update, the item entity type used different capitalization, and commands often used Item rather than minecraft:item. If you play an older version and the modern command fails, check the syntax for that specific release.
How to Clear Items in Bedrock Edition
Bedrock Edition is available on platforms such as Windows, Xbox, PlayStation, Switch, and mobile devices. Its command selectors differ from Java’s, so a Java radius command using distance=..10 may not work in Bedrock.
To clear dropped items throughout the current dimension, try:
/kill @e[type=item]
To limit the cleanup to items within 10 blocks, Bedrock commonly uses the r selector:
/kill @e[type=item,r=10]
Bedrock command support can vary by version and platform. If the game reports an error, use its command suggestions to check the accepted entity type and selector options. You also need cheats enabled or sufficient permissions. As in Java, make a small-radius test first if you are unsure which items the selector will affect.
Clear Items Only in a Specific Area
A limited-radius cleanup is the safest option when you want to remove clutter without deleting useful drops across a base or world. Stand near the mess, then use the radius command for your edition. For example, a 5-block radius removes items close to you, while a 20-block radius covers a larger work site.
For Java Edition, a radius command looks like this:
/kill @e[type=minecraft:item,distance=..5]
For Bedrock Edition, the corresponding form commonly looks like this:
/kill @e[type=item,r=5]
Remember that the radius is centered on the command’s execution position, not automatically on a particular object or structure. If you run the command from chat, move to the area you want to clean first. For more advanced setups, commands can be run from a command block or through an /execute command positioned at a chosen location.
Before using a large radius, consider picking up anything valuable, such as diamonds, tools, food, or mob drops. A cleanup command does not send items to your inventory or place them in a chest; it removes the item entities. Unless you have a backup or another way to restore the world, the deleted drops are gone.
Can You Remove Only One Kind of Item?
Sometimes you want to clear dirt, cobblestone, or another unwanted drop while keeping everything else. Java Edition allows more detailed filtering in many versions by checking the dropped item’s data. For example, this command targets dropped dirt:
/kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:dirt"}}]
Item data and command syntax can change between versions, so test a filter with a small quantity before relying on it. The item identifier must be correct: for example, a block or item may use a namespaced ID such as minecraft:cobblestone. A filter for the wrong ID simply will not match the drops you intended to remove.
Bedrock Edition has different command capabilities and does not use Java’s NBT selector syntax in the same way. Item-specific filtering may not be available through a simple equivalent command in your version. If you cannot filter the drops reliably, collect the valuable items first and use a small-radius cleanup instead.
Use a Command Block for Repeated Cleanup
If dropped items accumulate regularly in a farm, arena, or public area, you can automate cleanup with a command block. In worlds where cheats are enabled, obtain one with /give @p command_block, place it, and enter the appropriate item-removal command.
A repeating command block can run continuously, but constant removal may delete drops before players can collect them. A safer setup is to use a limited-radius command, activate the block only when needed, or use a redstone signal so cleanup happens on demand. On a shared server, get agreement from other players before adding automatic deletion.
Command blocks require the right permissions and settings. They may be disabled on servers, and the available block options can differ between editions. If a block does not run, check that it is powered or configured correctly, that command blocks are enabled, and that its command uses the syntax for your edition.
Prevent Items from Building Up
Removing dropped items solves the immediate clutter, but a few changes can help prevent another pile. The best option depends on whether you want to preserve block drops, mob loot, or both.
- Use lava or fire carefully. These can destroy many dropped items, but they can also burn valuable loot and may create a hazard. Some items, such as netherite equipment, are resistant to fire and lava.
- Use a cactus for unwanted drops. Items that touch a cactus are destroyed. Keep it away from paths and storage areas so useful gear does not get lost.
- Set up hoppers and storage. Hoppers can collect many items and move them into containers. This is useful for farms, though the design must account for the items’ location and collection range.
- Collect drops regularly. Picking up items after mining or combat is the simplest way to keep a work area clear.
-
Adjust game rules only if appropriate. The
doTileDropsrule controls whether blocks drop items when broken in many versions. Setting it to false prevents ordinary block drops, but it also changes gameplay and does not serve as a general-purpose way to erase existing drops.
Be cautious with mob-drop settings. A rule such as doMobLoot affects loot from mobs; it is not the same as clearing existing ground items. Likewise, changing a game rule usually affects future behavior rather than removing items already lying around. Check the exact rule and its effect in your edition before changing a survival world.
Why Items Sometimes Disappear on Their Own
Dropped items normally despawn after about five minutes of active ticking in a loaded area. Five minutes corresponds to 6,000 game ticks at the usual tick rate. The timer does not necessarily progress while the relevant area is unloaded, so leaving the area or closing the world may not make the drops disappear immediately.
Natural despawning is convenient for ordinary clutter, but it is not a dependable cleanup method if you need items removed right away. It can also be a risk: valuable drops left unattended may vanish after their despawn timer runs out. If you care about an item, pick it up promptly or move it into secure storage.
Common Problems and Safety Tips
- The command says you do not have permission: Enable cheats in a single-player world or ask a server owner or operator to grant command access.
-
The selector is invalid: Check whether you are using Java or Bedrock syntax, and confirm your game version. Java commonly uses
distance=..5; Bedrock commonly usesr=5. - Nothing disappears: Make sure the command is run in the dimension containing the drops and that the radius includes them. If necessary, test without a radius in a safe area.
- Too many items disappeared: The command removed the matching drops rather than storing them. Use a smaller radius next time and collect important items beforehand.
- You are using a command block: Confirm it is enabled, configured to run as intended, and permitted by the world or server settings.
For a cautious cleanup, stand beside the clutter, use a small radius, and check the result before repeating the command. In multiplayer, tell other players before running a broad cleanup so nobody loses drops they were about to collect.
Conclusion
The quickest way to clear ground items in Minecraft is to target dropped item entities with a /kill command. Java Edition commonly uses /kill @e[type=minecraft:item], while Bedrock commonly uses /kill @e[type=item]. Add a radius—distance=..5 in Java or r=5 in Bedrock—to remove clutter near you without affecting drops farther away.
Because these commands permanently delete matching items, collect anything valuable first and avoid the broad /kill @e command. For recurring clutter, consider careful collection systems or on-demand command blocks, and remember that game rules for block and mob drops change future drops rather than clearing items already on the ground.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.