hey guys, I am working on a new map for 1.14, long story short, I wanna kill an entity at a certain location but the /kill @e[x=?,y=?,z=?] doesn't work it kills all entities, and before you ask, no I can't rename it or do radius kill (another long story), please help!!! Thanks![/p]
hey guys, I am working on a new map for 1.14, long story short, I wanna kill an entity at a certain location but the /kill @e[x=?,y=?,z=?] doesn't work it kills all entities, and before you ask, no I can't rename it or do radius kill (another long story), please help!!! Thanks!
Make your story long so that we/I can understand.
Why can't you use radius? Does it need to be a square region?
hey guys, I am working on a new map for 1.14, long story short, I wanna kill an entity at a certain location but the /kill @e[x=?,y=?,z=?] doesn't work it kills all entities, and before you ask, no I can't rename it or do radius kill (another long story), please help!!! Thanks!
This is because the game assumes you want to search infinitely from the given source. In order to only work in a given area you need to use the following:
/kill @e[x=,y=,z=,dx=,dy=,dz=]
This allows you to create a kill-area with the given coordinates as one corner. The dx, dy, and dz values indicate how far you want to search in the positive x, y, and z directions. This means that you'll need to choose your starting location in the most north-western corner of the area. If you only want one coordinate location to kill entities you can set the value of dx, dy, and dz to 0. As a note, coordinates are accurate to the thousandth so you'll most likely want to have a search value of at least 1. Hope this helps.
Make your story long so that we/I can understand.
Why can't you use radius? Does it need to be a square region?
Command block engineer // Developer // #TeamTrees
This is because the game assumes you want to search infinitely from the given source. In order to only work in a given area you need to use the following:
This allows you to create a kill-area with the given coordinates as one corner. The dx, dy, and dz values indicate how far you want to search in the positive x, y, and z directions. This means that you'll need to choose your starting location in the most north-western corner of the area. If you only want one coordinate location to kill entities you can set the value of dx, dy, and dz to 0. As a note, coordinates are accurate to the thousandth so you'll most likely want to have a search value of at least 1. Hope this helps.
YOU'RE A GOD THANK YOU!!!