[BLOCKING] /execute tp with tildes and non-integers only works if the coordinates are negative
Verification builds: Release_459200 (In full release of 1.2 as well)
Summary:
If you run a teleport command after an execute where your coordinates are done with tildes, if the coordinate offset is POSITIVE, it will just teleport you to the exact same location. It will only work when it is negative.
Impact:
We are unable to upgrade our old cutscene to the new floating point coordinates. This means our cutscene is incredibly jumpy and could induce seizures in individuals with a family history.
Repro Steps: (same results with tp @s)
Case 0A. /tp @p ~0.833 76 ~0.613
Case 0B. /tp @p ~-0.833 76 ~-0.613
Case 1. /execute @p ~ ~ ~ tp @p ~0.833 76 ~0.613
Case 2. /execute @p ~ ~ ~ tp @p ~0.833 76 ~-0.613
Case 3. /execute @p ~ ~ ~ tp @p ~-0.833 76 ~0.613
Case 4. /execute @p ~ ~ ~ tp @p ~-0.833 76 ~-0.613
Observed Results:
Case 0A. The player is teleported appropriately along the X, Y, Z planes.
Case 0B. The player is teleported appropriately along the X, Y, Z planes.
Case 1. The player is teleported to the same location again and again. (it works the first time)
Case 2. The player is teleported correctly only on the Y and Z axis. (it works the first time)
Case 3. The player is teleported correctly only on the X and Y axis.(it works the first time)
Case 4. The player is teleported correctly along the X, Y, Z planes.(it works the first time)
Expected Results:
Correct teleportation
Screenshots/Videos attached: Yes
https://youtu.be/Ba_y68ABlI8
NOTES:
This could possibly have a tremendous health affect on our players due to jittery cutscenes. It is also a very fundamental necessity of the /execute command as we can use the /tp command in the original way from java. We cannot continue without this fix and I expect many other marketplace maps will be affected.