Command Blocks summon entities 1/2 a block too high when using relative coordinates
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.
2014-08-15, 01:49 PM
2017-12-30, 12:13 AM
2016-09-29, 01:04 AM
10
11
/summon, command_block, coordinate, relative, y-coordinate
Minecraft 14w33a - Minecraft 16w39a
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
-