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.
- is duplicated by
-
MC-37836 /setblock X-co-ordinates are off
- Resolved
-
MC-41812 Issue with coordinate and /setblock command.
- Resolved
-
MC-42312 range with command blocks subtily messed up
- Resolved
-
MC-44267 The Debug Screen (f3)
- Resolved
-
MC-45107 Fence Spawning over one on x coord when putting command in command block
- Resolved
-
MC-45744 F3 cords X and Z both display one larger then real world cords.
- Resolved
-
MC-45792 Negative Coordinates affecting /blockdata Command
- Resolved
-
MC-47763 Block positioning (negatives) off by 1
- Resolved
-
MC-50720 -0 coordinate and command block /setblock placement
- Resolved
-
MC-58097 Coordinates Are Messed Up
- Resolved
-
MC-67070 Negative Coordinates do not allign.
- Resolved
-
MC-93489 1.9 Coordinates are off!
- Resolved
-
MC-96899 coördinates in game do not work correctly with commands
- Resolved
-
MC-97848 cordanate teleportation 1 block off
- Resolved
-
MC-107879 The "looking at" coordinates are wrong in -X or -Y
- Resolved
-
MC-109837 Debug menu interprets -0 coordinate while commands don't
- Resolved
-
MC-114565 F3 interface/GUI shows incorrect "X" cordinates in Minecraft 1.11.2
- Resolved
-
MC-118519 Negative Coordinates Wrong
- Resolved
-
MC-118938 Debug Screen Coordinates not matching looking at
- Resolved
-
MC-124849 X Coordinate and "Looking At" X Coordinate are asynchronous
- Resolved
-
MC-128627 Coordinates - Negative 0? (Teleporting)
- Resolved
-
MC-132384 Commands do not recognize coordinates of -0
- Resolved
-
MC-134523 using /setblock in negative X and Z coordinates sets the block one space forward and left
- Resolved
-
MC-134525 using /setblock in negative X and Z coordinates sets the block one space forward.
- Resolved
-
MC-134677 Coordinates don't seem to align
- Resolved
-
MC-134841 The block X and Z coordinates don't match up will the play coordinates
- Resolved
-
MC-136390 coordinate system still broken
- Resolved
-
MC-145728 19w11a Bug (coordinates)
- Resolved
-
MC-146241 Coordinates problem with -0 and looking at
- Resolved
-
MC-156337 x value is 1 off when using /fill
- Resolved
-
MC-157110 Negative coords and "Looking at block" coords out of sync (missing -0)
- Resolved
-
MC-157815 Fill Command Offset
- Resolved
-
MC-193004 -0 coordinate creates misalignment with targeted block
- Resolved
-
MC-193856 Coordinate alignment in negative xyz
- Resolved
-
MC-195727 The Block coordinates are incorrectly rounded to integers when negative,
- Resolved
-
MC-217128 All of the Axis include -0
- Resolved
-
MC-219301 Fill Command Not working properly/The Position is not loaded
- Resolved
-
MC-232974 X and Z coordinates do not match "targeted block" X and Z coordinates, off by one, -0 appears as -1
- Resolved
-
MC-233488 Coordinates -0
- Resolved
-
MC-256415 there are coördinates -0,-0,-0
- Resolved
-
MC-256439 Yaw Axis Can Go To -0.0
- Resolved
-
MC-263843 Z axis has -0 Visual Glitch
- Resolved
-
MC-264268 Coordinate bug - Ошибка координат
- Resolved
-
MC-265357 Cords and Targeted Block Cords off by 1 Block in X and Z
- Resolved
- relates to
-
MC-55671 When executing the teleport command, the X and Z coordinates are edited by .5 instead of the Y
- Resolved
-
MC-4794 Teleporting to negative coordinates is inaccurate
- Resolved
-
MC-153454 Negative Zero
- Resolved