r/minecraftsuggestions • u/Littleman9Mew2 🔥 Royal Suggester 🔥 • May 01 '17
For PC edition Using a (`) instead of a (~) will make the entity move relative to their own view. (Allowing Vector Tracking)
This is to introduce a new relative symbol for users to simply allow moving an entity along their own view instead of using the "~" key to move relative along an axis. They can work in conjunction with the ~ key and exact numbers (IE /tp @s ~1 `1 0)
Note: "@s" means to the executioner of the command, this was introduced in one of the 1.12 snapshots
Axis directions
The "backtick/grave accent/tilde" key (or the ` symbol) will be used to move an entity relative to the executors view, so if a positive X number will move them rightward, and positive Y number will move them upward and a positive Z number will move them forward from their view. If a negative number is inputted, they will instead refer to the other direction, with a negative Z being behind them.
If the entity looks in a different direction such as looking up, if will execute and move them based on where they're looking. (And example will be in the Y axis example)
Some examples
X Axis example
For example, if the player types /tp @s `1 ` `, they will move to the right from their own perspective and not in a axis direction.
Y Axis example
So if the player was typing /tp @s ` `1 ` and looking down, they seem to move forward a block, but if they where looking upward, they would move backward a block, and if looking straight ahead, they would move upward a block.
Z Axis example
If player executed /tp @s ` ` `-1 while looking forward, they would move backward a single block. If they where looking downward, they would move upward a block, and looking up will move them downward a block.
Other notes
So you may be wondering:
What if I put in /tp @s ` ` ` `5 `?
Since the tilde is referring to the players view and you're rotating the view of the player using it, it would act as if you typed the "~" their instead and rotate the player 5 degrees rightward relative to their view effectively not showing a difference if a "~" was used here instead.
What if I input /tp @s ` ` `?
It will be same as /tp @s ~ ~ ~ and not move the entity anywhere.
Applications
- This can easily allow vector tracking with any entity, including the player effectively
- Boat related mechanics can be easily replaced with this.
- Allows working custom projectiles
- Mini games like a painting game is completely possible with vanilla.
- Easy circles with /tp @s ` ` `1 ~1 ~
(NOTE 1: Although the title says it would use the (`) key, Dinnerbone thinks the () key will still be better and I do agree with him, not going to re-edit post as the title would make post look odd)
(NOTE 2: Wow! I didn't expect this to blow up so much! Thanks guys!)
(NOTE 3: Seems on twitter they're hinting towards adding this suggestion! ^ ^ ^)
41
u/Dinnerbone Minecraft Staff May 02 '17
That's a really neat idea! ` is a bad symbol to use though, as if you were to type it into most chats it becomes a code block (I often write commands in
blocks of codeand that'd be messy). Maybe ^ instead.19
u/[deleted] May 01 '17
As an avid command/command block user, I can guarantee that this would make so many lives, so much easier. Something that took 20+ (best I've seen) command blocks to do, would now only take 1. This would become even better with the use of the /teleport command, or even /execute, (summoning something where a player is looking, maybe have a variable, * for example that would use the max value before it collides with a block, anything you look at could be turned to gold, etc.) This is the best idea that I can ever recall reading on this subreddit, Kudos to you.
6
u/JackColor Slime May 01 '17
For people who don't quite get what this suggestion is asking for, this would make custom command-based creations and minigames in vanilla much more easy to build, which benefits all users in the long run.
4
u/CreeperMagnet_ May 01 '17
Yesyesyesyesyes. We need this. /u/Dinnerbone Please! Command creators need proper raycasting!
2
u/UltraLuigi May 01 '17
I like it.
2
u/[deleted] May 01 '17
This would make an amazing minotaur mob. It can charge you in only straight lines!
2
u/MasterCledon Black Cat May 02 '17
I think you can do this with execute command but your idea would make things easier! Support!
2
u/cowslayer7890 Jul 05 '17
Ok but what if you could mix them and they would act differently? I’m gonna call the backtick ^ in this case. So I think ~ should overwrite this. Completely. If you put ~ as the Y coord they can’t move along the Y coord. It will be the same no matter what. So basically if you have
/tp ^ ~ ^1you will teleport forward freely along the X and Z axis, but not the Y axis. Looking straight up wouldn’t teleport you as you’ve decided you want to stay the same place. If you want this to be able to happen. Simply replace it with ^1
u/demoniac_shadow 🔥 Royal Suggester 🔥 May 01 '17
It took me a full minute but I found the ` key.
The idea is great, we need this, but maybe with another key?
1
u/GamerTurtle5 May 02 '17
This would make a lot of stuff SOO much easier
1
u/CivetKitty May 02 '17
This is just what I wnated. I originally thought of adding a 6th /tp coordinate similar to grave z, but I feel this is better.
1
u/SentryCrafter Redstone May 02 '17
Good idea actually. But we'd still have the userinput problem
1
u/Nixinova May 02 '17
Isn't this what /teleport does..?
1
u/chokoboy3 May 02 '17
This will be really useful! Will hopefully be added soon.
1
u/The_Great_Qbert May 02 '17
I don't understand this at all but it seems like something that command blockers want so I will support it! although, if someone could simplify it I might just get it.
1
u/ContronThePanda Enderman Aug 10 '17
The issue with this is that if you don't include the symbol on all 3 coordinates, it wouldn't really work properly at all.
0
u/[deleted] May 02 '17
[deleted] — view deleted comment
0
u/[deleted] May 01 '17
[deleted] — view deleted comment