Minecraft: Here Is How to Clear All Entities

Clear all entities Featured

Using commands to make your life a bit easier or to test things out in Minecraft has been around ever since the game came out. People have been able to push the limits of what they can do in their Minecraft worlds using these commands, but they can sometimes seem like a lot. Learning commands in Minecraft is like learning to code in real life. Clearing all entities is one of the basic commands you’ll find yourself interacting with, so how do you execute it?

  • Article Breakdown:
  • To clear all entities in Minecraft, open up your command window and type in /kill @e.
  • This will eliminate all entities in your Minecraft world but will also kill you.
  • To prevent that from happening, it’s better to use the  /kill @e[type=! player] command. The same command can be used to prevent it from killing other entities you don’t want to clear.

What does clear entities do?

Clear all or, better yet, kill all, will literally remove any and all entities from the game. This includes mobs, dropped items, and the player… Anything except for the obvious blocks. This will help reset the mob counts because even though mobs do despawn after some time and after you exit a certain radius from where the mob spawned, this feature can lag, and the mobs won’t despawn.

Another problem with despawning might happen if you’ve named the entity using a name tag. This will ensure that it never despawns, which can become a problem if you decide to scrap your whole life in a Minecraft world and start anew thousands of blocks from where your first base, farms, and anything in between was.

The inability for mobs to despawn tends to create frame drops and lag, so killing all entities can prove to be a useful command if you’ve already tried everything to stop the lag, but nothing seems to have worked. Just make sure you don’t use the command in a hardcore world without adding the command that won’t kill you.


Minecraft: Here’s How To Give Enchanted Items To Other Players

The limits of the command

Even a command as simple as clearing all entities can have numerous ways to use it. The command gives you great control over which entities you want to kill and how many entities you’d like to be gone. Another way you can use the command is to clear all entities within a certain number of blocks from where you’re standing, so let’s check out all of the things you can do with the command.

If you want to kill all entities within a certain radius/number of blocks – /kill @e[distance=..(number of blocks)]. The command will kill you as well if you don’t specify that you don’t want it to kill you. To do this type in /kill @e[distance=..(number of blocks), type=minecraft:player]. In Bedrock Edition, the command is /kill @e[r=(number of blocks)]

To kill a specific type of entity within a certain radius/number of blocks – /kill @e[distance=..(number of blocks), type=zombie]. It’s easy to conclude that if you want to get specific about a simple command, the point is to add another argument into the brackets but separated by commas.

Player death

Upon death, you’ll see the message ”Player name fell out of the world because the command used to deal void damage. Nowadays, the command simply kills all entities and displays the message ”Ouch! That looked like it hurt.”.

How to open the command window: all versions

Even something as simple as opening up the command window differs from version to version. So, it can be challenging to find the correct information that applies to your specific situation. Most commonly, you’ll see that you have to press ”T” to open up the command window but that only applies to the Java Edition, so here’s a list of all the ways you can open up the command windows, platform to platform:

  • Java Edition (all platforms – Linux, Windows, Mac) – Press the letter ”T”
  • Pocket Edition (phones and tablets) – Tap the chat button that looks like a message rectangle
  • Xbox – Press D-Pad Right on your controller
  • Playstation – Press D-Pad Right on your controller
  • Nintendo Switch – Press the Right Arrow button on your controller
  • Windows 10 Edition – Press the letter ”T”
  • Education Edition – Press the letter ”T”

Command basics

If I were to write every possible thing you can do with even basic commands, we’d be here a while, so I’ll keep it short with the easiest commands to execute and understand:

  • Teleport – allows you to teleport anyone and anything in your world. The basic command is /tp @playername X Y Z
  • Weather – with the command you can choose to control the weather. You’ll have the option to make it clear, rain, or thunder. The basic command is /weather clear. You can even make it so that it lasts for however long you want /weather clear 999999
  • Locate – The command will help you locate the closest structure to you. You can locate biomes, structures, and pois. The base command is /locate structure minecraft:mineshaft (this is just an example) but you can locate practically anything.
  • Time – you can change the time of day. You can even go as far as to make it always a day or always night. The base command is /time set day (or night, midnight, noon)

Although there are plenty of other basic commands out there. These are some that don’t require a lot of memorizing to execute and it’s easy to understand what you can do with these commands.

Commands you can use without cheats

Many would argue that commands aren’t cheats but I would disagree. Of course, if it’s something harmless like changing the weather, sure, commands aren’t cheats, but you’re essentially changing how the game is meant to be in reality so it is cheating. It makes the game easier and so I think it is. Picture it this way, if a player were to start a new world but it’s a hardcore world and did the 100-day challenge with and without the use of commands, which would be impressive, and which one couldn’t even count as a successful completion of the challenge?


Minecraft: Here’s How To Find and Track Other Players

I’ll leave you to ponder over the answer. If you’re creative though, then by all means I recommend you use commands. It makes it a lot easier to build things and test out stuff.

Have something to add? Let us know in the comments below!

Notify of
Inline Feedbacks
View all comments