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

Setblock not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 13w38c
    • None
    • Unconfirmed
    • Creative

      When typing the following command:
      setblock 19 102 -0 minecraft:redstone_block 1 destroy
      It doesn't spawn the redstone block in that position.
      If I type the following command instead,
      setblock 19 102 -2 minecraft:redstone_block 1 destroy
      It will spawn the redstone block in X: 19 Y: 102 Z: -0
      This doesn't happen with non-minus coordinates.
      If you write -0 or -1, it will spawn the block at 0.

      How to reproduce:
      1. Type the following command in a command block. Be sure to be at least at X= -0 and/or Z= -0.
      setblock -0 102 -0 minecraft:redstone_block 1 destroy
      Because of the bug, it will spawn in 0 102 0 instead of -0 102 -0.
      The same thing happens with -1, it will spawn in 0.
      If you do this thing in -2, -3, -4 etc., it will spawn in -0, -1, -2 etc..

            Unassigned Unassigned
            Qedaxoo Edoardo Yin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: