#kill any entity outside of selected areas?
1 messages · Page 1 of 1 (latest)
distance does search a spherical area
Oh I see, your phrasing can be read two ways
You can use the dx, dy, and dz target select arguments to find all entities inside and intersecting a volume
They use the executing position as one corner, and then tage integers to determine the distance to the other corner
Oh, ok, I get it. So, I use positioned to select the beginning point and dx dy dz as the end point right?
Yep
Ok, so if I want to kill entity with this, I use
execute positioned ~10 ~10 ~10 run kill @e[type=zombie,dx=-10,dy=-10,dz=-10] right?
oops sorry dx=-20,dy=-20,dz=-20
That is a valid command
thank you so much for the help