Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-36602

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.7
    • Unconfirmed

      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.

            grum [Mojang] Grum (Erik Broes)
            sparks Sparks
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: