How to kill entities in minecraft
Matthew Martinez
Updated on April 01, 2026

This works with all mobs. It also works with different types of entities, for example /kill @e[type=Item]. You can also add a radius to it so that every mob with the right type in the area will be killed. /kill @e[type=Skeleton.r=20 for example. WARNING!
There are other answers below:
To find the entity name, type /summon and then press TAB to get a full list of entities. To kill them, type /kill @e[type=ENTITY] where ENTITY is your entity. To kill them at the coordinates, simply use the X, Y, and Z, tags. Your new command should look like this: /kill @e[type=Squid,x=831,y=65,z=-232]
In Minecraft Windows 10 Edition, the /kill command has different syntaxes depending on who you would like to kill. To kill all entities (including your own player): /kill
In all Minecraft editions, the command for killing everything in the world is “/kill
To kill all entities within 10 blocks: JE: kill @e[distance=..10] BE: kill @e[r=10] To kill all entities except players: kill @e[type=!player] To kill all creepers within 10 blocks: JE: kill @e[distance=..10,type=creeper] BE: kill @e[r=10,type=creeper] To kill all arrows that are stuck in a target: kill @e[type=arrow,nbt={inBlockState:{Name:”minecraft:target”}}] History []
The first and the basic way to use the command is to kill all the entities of the game: Open the chatbox by pressing T on your keyboard. Type in the command: /kill @e and hit Enter. Every entity in the game, including yourself, dies after executing the command.
Code (Text): loop all entities: if loop-entity is chicken: kill loop-entity. #1 fakepixel, Oct 21, 2017. + Quote Reply.
I have been trying to find a way to kill only the oldest spawned entity in my world. What I mean is that if I spawn in four armor stands, I want to be able to kill them in the order that I have spawned them. I have been trying to use the {c=-1} or {c=1} tags, but those will only kill the armor stand nearest to me.
/execute @p ~ ~ ~ kill @e[type=Zombie,r=32] The execute command does exactly what you want. It uses commands at the location of certain entities that you can choose, including players
For the Java edition of Minecraft (1.12+), you can type /kill . Where “” are what you want to kill. Typing just /kill will kill every entity in a loaded area, including your…
- To find the entity name, type /summon and then press TABto get a full list of entities. To kill them, type /kill @e[type=ENTITY] where ENTITY is your entity.
- Similar search: how to summon an entity in minecraft
Related Questions
How to kill all entities within 10 blocks in Minecraft?
To kill all entities within 10 blocks: JE: kill @e [distance=..10] BE: kill @e [r=10] To kill all entities except players: kill @e [type=!player]
How to find the entity name and kill it?
To find the entity name, type /summon and then press TABto get a full list of entities. To kill them, type /kill @e[type=ENTITY] where ENTITY is your entity.
How does/kill () work with entities?
It also works with different types of entities, for example /kill @e [type=Item] . You can also add a radius to it so that every mob with the right type in the area will be killed.
What is the command to kill everything in Minecraft?
In all Minecraft editions, the command for killing everything in the world is “ /kill