I already know how to use a command block to kill entities in a radius around it by just doing /kill @e[r=10,type=creeper] for example. But I want to hide command blocks far beneath the area. Is there a way to set co-ordinates with the kill radius? like /kill @e[2370,68,1256,r=10] or something? Help!
I already know how to use a command block to kill entities in a radius around it by just doing /kill @e[r=10,type=creeper] for example. But I want to hide command blocks far beneath the area. Is there a way to set co-ordinates with the kill radius? like /kill @e[2370,68,1256,r=10] or something? Help!
You pretty much nailed it.
/kill @e[x=2370,y=68,z=1256,r=10]
or
/kill @e[x=2370,y=68,z=1256,dx=xArea,dy=yArea,dz=zArea]