forum Forumsplay_arrow Minecraft fiber_manual_record Redstone

1

Command Block Area Selection

1 emerald8 replies1,214 views
created 06/01/2013 1:18 am by LiquidChildren1
last reply 06/02/2013 12:16 pm
With a command block, you can specify an x,y,and z coordinate, as well as a radius around it for the command to apply to, like saying /testfor @p[3,65,27,r=10]

But I'm wondering, can you leave out one of the coordinates, to make a cylindrical area of application, rather than a spherical? Like, if you leave out the Y coordinate, will it still affect people with the same X and Z, no matter how high up or down?
Posted by avatar
LiquidChildren1
Level 25 : Expert Engineer
36

comment Login or register to post a reply.

8 replies

06/02/2013 12:16 pm
Level 25 : Expert Engineer
LiquidChildren1
Yes that is what I mean, so tht the area of effect will work for any value of Y, which would look like a vertical line, but since a radius is specified, it would be like a cylinder with no maximum and minimum height.

Does this actually work, though?
06/02/2013 7:56 am
Level 15 : Journeyman Engineer
atomick86
Kahanamoku
/testfor @p[3,65,27,r=10]

You mean testfor @p[x=3,y=65,z=27,r=10] right??
then you would instead write:testfor @p[x=3,z=27,r=10]

That's exactly what he means
06/02/2013 7:30 am
Level 1 : New Miner
Kahanamoku
/testfor @p[3,65,27,r=10]

You mean testfor @p[x=3,y=65,z=27,r=10] right??
then you would instead write:testfor @p[x=3,z=27,r=10]
06/01/2013 6:59 am
Level 24 : Expert Cake
H-MAN_25
I didn't know you could do that 0_0
06/01/2013 6:46 am
Level 25 : Expert Crafter
Neptonic
Someone, just go check the wiki...
06/01/2013 6:44 am
Level 92 : Overlord Fish
FiskFille
No, you can't. Even IF it works, it will think you only specified the X and Y coordinates. That would just break the game.
06/01/2013 1:24 am
Level 25 : Expert Crafter
Neptonic
I believe that you can leave some coordinates blank and it will TP you in a straight line.
06/01/2013 6:33 am
Level 15 : Journeyman Engineer
atomick86
I think that is true, but as for making it as a cylinder, I doubt you can do that, sorry

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome