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

Coordinates in commands run by players get shifted up by half a block

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Operating system: OSX 10.9.5
      Java Version: 1.6.0_65
    • Confirmation Status:
      Community Consensus

      Description

      Stand on a partial block, like cake, slab, or chest. Run the command "/setblock ~ ~ ~ stone" The block above the one you are standing on will be set to stone. This only occurs if the block is thick enough, if run on a carpet for example, it will work correctly. Interestingly, if run on a 4-layer thick snow cover, it will work correctly, even though that is the same height as cake, which doesn't work correctly. This is because the player sinks 2 pixels into snow.

      This bug only occurs when the command is directly run by the player, if you instead run "/execute @p ~ ~ ~ setblock ~ ~ ~ stone", it will work correctly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              KingSupernova KingSupernova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: