It appears we will be given a new command that will allow us to use commands relative to any entity, including players: https://twitter.com/...282134305181696
The speculated syntax:
/execute <player|entity> X Y Z <command>
So you can specify relative coordinates from the player along with specifying the full command. Probably going to be one of the best commands of this update (in my opinion) if this is truly how it works!
Well that's just amazing, I'd love to say that this thread got the command added but I have a small hunch this was going to come eventually since we got the new trigger commands.
Now I just want more relative player stuff (direction), and possibly more powerful selectors.
Rollback Post to RevisionRollBack
Looking for a Build Team, check my profile for information!
Well that's just amazing, I'd love to say that this thread got the command added but I have a small hunch this was going to come eventually since we got the new trigger commands.
Now I just want more relative player stuff (direction), and possibly more powerful selectors.
Yeah, I would love to see direction, or at least a selector that allows us to test for facing direction, so we can hook up multiple command blocks and run this /execute command relative to direction.
Well that's just amazing, I'd love to say that this thread got the command added but I have a small hunch this was going to come eventually since we got the new trigger commands.
Now I just want more relative player stuff (direction), and possibly more powerful selectors.
Yeah, I would love to see direction, or at least a selector that allows us to test for facing direction, so we can hook up multiple command blocks and run this /execute command relative to direction.
That seems to be more to test in straight lines. So from the command block it would test if anyone crossed the x axis it's on from a 30 block diameter, seemingly no matter what height also, unless height is also set by the 30 value.
However it is a really cool feature, will be nice for the doors I'm making as well as bounding boxes.
That seems to be more to test in straight lines. So from the command block it would test if anyone crossed the x axis it's on from a 30 block diameter, seemingly no matter what height also, unless height is also set by the 30 value.
However it is a really cool feature, will be nice for the doors I'm making as well as bounding boxes.
You are thinking of either dx (square bounding box) or r (radius). rx (and likely ry) are a new thing in the next snapshot maybe. Seems more like the new x-rot and y-rot in the /tp command.
Anyways, he said "Don't Look Down" which implied detecting direction.
Hope this makes sense, if not, check the wiki under "Command_Block"
You are thinking of either dx (square bounding box) or r (radius). rx (and likely ry) are a new thing in the next snapshot maybe. Seems more like the new x-rot and y-rot in the /tp command.
Anyways, he said "Don't Look Down" which implied detecting direction.
Hope this makes sense, if not, check the wiki under "Command_Block"
Hmm i guess it is, I hope it's not just a selector tho.
That would requite quite a few command blocks to ensure you get the proper xyz direction.
Rollback Post to RevisionRollBack
Looking for a Build Team, check my profile for information!
Hmm i guess it is, I hope it's not just a selector tho.
That would requite quite a few command blocks to ensure you get the proper xyz direction.
Well, tp uses just two parameters. y-rot refers to a location from -180 to 180 (360 degree circle) and x-rot refers to a location from -90 to 90 (vertical, from straight down to straight up). So it might work with just one, provided there is a ry (which only makes sense).
For those of you who haven't noticed we now have player/entity relative commands in the latest snapshot with the /execute and player relative direction.
I already have a 16 direction detection going on, couldn't image needing more then that.
Rollback Post to RevisionRollBack
Looking for a Build Team, check my profile for information!
Cool that your suggestion got implemented.
Well that's just amazing, I'd love to say that this thread got the command added but I have a small hunch this was going to come eventually since we got the new trigger commands.
Now I just want more relative player stuff (direction), and possibly more powerful selectors.
Yeah, I would love to see direction, or at least a selector that allows us to test for facing direction, so we can hook up multiple command blocks and run this /execute command relative to direction.
You two might be interested in this.
https://twitter.com/SeargeDP/status/432139778373324800
That seems to be more to test in straight lines. So from the command block it would test if anyone crossed the x axis it's on from a 30 block diameter, seemingly no matter what height also, unless height is also set by the 30 value.
However it is a really cool feature, will be nice for the doors I'm making as well as bounding boxes.
You are thinking of either dx (square bounding box) or r (radius). rx (and likely ry) are a new thing in the next snapshot maybe. Seems more like the new x-rot and y-rot in the /tp command.
Anyways, he said "Don't Look Down" which implied detecting direction.
Hope this makes sense, if not, check the wiki under "Command_Block"
Hmm i guess it is, I hope it's not just a selector tho.
That would requite quite a few command blocks to ensure you get the proper xyz direction.
Well, tp uses just two parameters. y-rot refers to a location from -180 to 180 (360 degree circle) and x-rot refers to a location from -90 to 90 (vertical, from straight down to straight up). So it might work with just one, provided there is a ry (which only makes sense).
I already have a 16 direction detection going on, couldn't image needing more then that.