-
Bug
-
Resolution: Awaiting Response
-
None
-
Minecraft 18w50a
-
None
-
OS: Windows 10 64-bit
Java Version: 8.0.1710.11
-
Unconfirmed
-
(Unassigned)
I had a repeating command block set up to check for players above a specific block that would teleport them back a few blocks when detected. I managed to get it to work flawlessly in the overworld. In the end, where I needed to build it, whenever I punched in the coordinates I wanted, the command block wouldn't do anything. However, I had the command wrong at one point (the z-coordinate was 133 instead 1337) and it worked for some reason. After changing it back to the correct coordinates, it still wouldn't work.
Here's the command I have in the repeating command block:
/execute as @a at @s if block ~ ~-2 ~ minecraft:red_glazed_terracotta run tp @s 853 200 1337
(The block itself is not even 10 blocks away from where the player would be, so I don't think it's an issue of unloaded chunks.)
The attached screenshots below show:
- Standing above the terracotta blocks doing absolutely nothing, while the command block is running
- The block it's supposed to tp the player to (lapis block)
- The proximity of the command block to the area it's supposed to detect players