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

Command Blocks summon entities 1/2 a block too high when using relative coordinates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 14w33a, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre6, Minecraft 1.8.6, Minecraft 1.8.8, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w15b, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w38a, Minecraft 16w39a
    • Fix Version/s: None
    • Environment:

      OS X

    • Confirmation Status:
      Confirmed

      Description

      I wanted to summon a villager with custom trades and without AI so I took a command block, placed it down and started typing the command. Notice I used relative coordinates:

      /summon Villager ~ ~1 ~ {NoGravity:1,NoAI:1}

      What I expected to happen was:
      when I pressed the button on the command block, it would summon the villager standing on the command block.
      This also happens when using /execute .

      What actually happened was:
      the villager summoned but not 1 block above the command block, but 1,5 block above.

      Tried with other mobs and also items, it did the same. When I used ~ ~0.5 ~ it did summon exactly on the command block. Also, this doesn't happen with absolute coordinates, only with relative.

      How to reproduce:
      1. Give yourself a command block
      2. Go into the command block and put in this: /summon <your entity> <your relative coordinates>
      3. Attach a button to the command block and press it
      4. You'll see it is 0.5 block higher than where you actually wanted your entity to be.

        Attachments

        1. 2014-08-15_12.55.42.png
          2014-08-15_12.55.42.png
          120 kB
        2. 2014-08-15_12.57.31.png
          2014-08-15_12.57.31.png
          144 kB
        3. 2016-05-23_17.43.58.png
          2016-05-23_17.43.58.png
          530 kB
        4. 2016-05-23_17.44.16.png
          2016-05-23_17.44.16.png
          1.03 MB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Jelle Jelle
              • Votes:
                10 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: