The Bug:
Integer Y coordinates in commands are moved up by half a block.
Commands such as /tp and /summon move integer (whole-number) X and Z coordinates to the center of the block, but keep an integer Y coordinate as it is typed, so entities stand on top of the block below. However, integer Y coordinates are now also moved up by half a block, so players and entities end up half a block above the height that was typed.
Steps to Reproduce:
Summon an armor stand without gravity by using the command provided below.
/summon minecraft:armor_stand ~ 100 ~ {NoGravity:1b}Read the armor stand's Y coordinate by using the command provided below.
/data get entity @n[type=minecraft:armor_stand] Pos[1]Observe if the Y coordinate is 100.5 instead of 100.
Observed Behavior:
Y coordinates are moved up by half a block.
Expected Behavior:
Y coordinates would not be moved up by half a block.