Forgot password
Enter the email address you used when you joined and we'll send you instructions to reset your password.
If you used Apple or Google to create your account, this process will create a password for your existing account.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Reset password instructions sent. If you have an account with us, you will receive an email within a few minutes.
Something went wrong. Try again or contact support if the problem persists.
Image via Mojang

How to use the kill command in Minecraft 1.19

Get rid of anyone, at any time.

One of the first console commands you should probably add to your arsenal in Minecraft 1.19 is the kill command. Players can use the kill command to get rid of any type of mob and players in an extremely large radius. Since this power will allow you to control who is alive on your map at any time, you’ll want to learn how to use it properly. Here is how you can use the kill command in Minecraft 1.19.

Recommended Videos

How to use the kill command in Minecraft 1.19

To use the kill command in Minecraft 1.19, you will first have to enable cheats in your world. Once that is done, you just need to open up the console by pressing “/,” or opening the chat in the Pocket Edition, and get to work.

Screenshot by Gamepur

The command “/kill” followed by nothing will result in your death. However, there are a couple of special commands that you can use to kill specific mobs or players. If you type in the name of a player after the kill command, that player will die. For example, typing “/kill gamepur” will instantly kill a player in the server called “gamepur.”

Otherwise, there are five distinct target selectors that you can use to kill mobs, players, and yourself if you type them after “/kill”:

  • @p (nearest player)
  • @r – (random player)
  • @a – (all players)
  • @e – (all entities)
  • @s – (the entity that is executing the command, in this case, yourself)

Related: The 10 best Minecraft servers (2023)

As you can see, typing in the command “/kill @e” will kill every living being in the server (or your render range). The same stands for all the target selectors we listed above. However, you actually have even more control over who and what you kill if you use certain filters.

Screenshot by Gamepur

After typing in the “/kill @e” you can also add square brackets (“[]”) and write filters such as type, distance, or limit., letting you easily kill specific mobs. For example, if you wanted to kill all the zombies in a close range, you can type in the command “/kill @e[type:zombie, distance:..10]” and you would get rid of all the zombies around you. You can also use the “type=!player” to exclude yourself from the killings. Once you get a handle on how the kill command work, you’ll quickly have full control over who lives and dies in your Minecraft world.


Gamepur is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy
Author
Image of Adrian Oprea
Adrian Oprea
Based in London, United Kingdom, Adrian Oprea is a Guides Writer. As a professional single-player RPG player, Adrian has often been stigmatized. He has decided to pour his frustration into writing guides!