My idea will reduce the amount of code requred to do certain commands, and even add possibilities to what you can do. What I would like to do is create a way to make local and relative (^ / ~) coordinates relative to another entity. Personally, what we could do is that you enter a target, add a colon, then enter the coordinates. It could turn this:
/execute @e[type=snowball] ~ ~ ~ setblock ^1 ^1 ^1 air
into this:
/setblock @e[type=snowball]:^1 ^1 ^1 air
Clearly, we can see that although it does the same thing, the second is much shorter in writing. This way will also allow mobs and players to be relative too, as it turns out that you can't execute anything on behalf of them. The reason why this would work is because you aren't executing as them, but instead executing something relative to them. Here is an example - this wouldn't work...
/execute Player ~ ~ ~ particle evoker_spell ~ ~ ~
...but this would...
/particle evoker_spell Player:~ ~ ~
...and it doesn't take up as many characters.
I really hope you like this idea, and also can't wait to see this in the game!!
Please sign in to leave a comment.
3 Comments