Mojira Archive
MC-36602

Commands with coordinates are NOW offset -1 x and/or z from where it should be (at negative X and Z coordinates)

Moderator Note:

This is working as intended as there is no +0 and -0 coordinate. 0 itself cannot be positive or negative, there are only coordinates greater or less than 0.
The coordinate of a block is the coordinate rounded down, meaning anything from -0.1 to -1.0 is part of the -1 block coordinate. The center of the block at -1 is at -0.5.

This bug is marked as resolved on the bug tracker but IT IS NOT. The offset is now 1 rather than 2.

To replicate:

Place a command block and type

setblock -5 80 -5 minecraft:stone

Power the command block and you should see a stone block appear at -4 80 -4

This bug hasn't been fixed, the offset is just slightly less.

Works As Intended

Sparks

[Mojang] Grum (Erik Broes)

2013-10-22, 11:27 PM

2023-09-13, 10:54 PM

2014-01-24, 10:03 PM

0

9

Unconfirmed

command, offset

Minecraft 1.7

-