I'm generating a world for a server and it requires me to move around the map to get a lot of custom trees and structures to generate (custom generator). My old method was to use spreadplayers as a random teleporter and some command blocks to change my facing to N E S then W to get everything around me loaded. This worked fine in 1.12, but now it seems that relative positioning in the tp command is broken.
tp @p[gamemode=spectator] ~ ~ ~ -180 0
This command should change my facing without modifying my position, but it keeps teleporting me to the command block. It's my understanding that the tp command uses tildes as relative to the target, while the teleport command uses tildes as relative to the executor (the command block). What's wrong here?
I'm generating a world for a server and it requires me to move around the map to get a lot of custom trees and structures to generate (custom generator). My old method was to use spreadplayers as a random teleporter and some command blocks to change my facing to N E S then W to get everything around me loaded. This worked fine in 1.12, but now it seems that relative positioning in the tp command is broken.
tp @p[gamemode=spectator] ~ ~ ~ -180 0
This command should change my facing without modifying my position, but it keeps teleporting me to the command block. It's my understanding that the tp command uses tildes as relative to the target, while the teleport command uses tildes as relative to the executor (the command block). What's wrong here?
I see what you mean.
/execute as @a at @s run teleport @s ~ ~ ~ -180 0
Does this work?
Rollback Post to RevisionRollBack
Advertisement Board
1. New minigame for Christmas! (Yes it's over, I know...) Check it out!
2. If you found my command solutions helpful, try to make my work worthwhile by crediting me. However, if you are to credit me, let me do it by:
Joining the map server or giving me a download link to add stuff.
This is mainly because I don't want some simple signs mentioning my name or my stupid head sticking to the wall.
Still don't understand why they felt the need to fix the unbroken lol
Actually, if I am to define "unbroken", 1.12 is pretty broken. It's slow (mainly this) , using a lot more resources, hard to manipulate on Mojang's side and inconsistent.
Rollback Post to RevisionRollBack
Advertisement Board
1. New minigame for Christmas! (Yes it's over, I know...) Check it out!
2. If you found my command solutions helpful, try to make my work worthwhile by crediting me. However, if you are to credit me, let me do it by:
Joining the map server or giving me a download link to add stuff.
This is mainly because I don't want some simple signs mentioning my name or my stupid head sticking to the wall.
Actually, if I am to define "unbroken", 1.12 is pretty broken. It's slow (mainly this) , using a lot more resources, hard to manipulate on Mojang's side and inconsistent.
I was more referring to the command that worked just fine before. Yeah, 1.12 had problems, but this was not one of them.
I'm generating a world for a server and it requires me to move around the map to get a lot of custom trees and structures to generate (custom generator). My old method was to use spreadplayers as a random teleporter and some command blocks to change my facing to N E S then W to get everything around me loaded. This worked fine in 1.12, but now it seems that relative positioning in the tp command is broken.
This command should change my facing without modifying my position, but it keeps teleporting me to the command block. It's my understanding that the tp command uses tildes as relative to the target, while the teleport command uses tildes as relative to the executor (the command block). What's wrong here?
I see what you mean.
/execute as @a at @s run teleport @s ~ ~ ~ -180 0
Does this work?
Joining the map server or giving me a download link to add stuff.
This is mainly because I don't want some simple signs mentioning my name or my stupid head sticking to the wall.
Yes, that works! Thank you!
Still don't understand why they felt the need to fix the unbroken lol
Actually, if I am to define "unbroken", 1.12 is pretty broken. It's slow (mainly this) , using a lot more resources, hard to manipulate on Mojang's side and inconsistent.
Joining the map server or giving me a download link to add stuff.
This is mainly because I don't want some simple signs mentioning my name or my stupid head sticking to the wall.
I was more referring to the command that worked just fine before. Yeah, 1.12 had problems, but this was not one of them.
The reason is that the relative coordinates of every command comes from the executor, except /tp.
Instead of taking it from the executor, /tp use the coordinate from the target.