Mojira Archive
MC-76491

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

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.

Duplicate

KingSupernova

2015-01-13, 04:37 AM

2016-05-31, 10:13 PM

2015-01-14, 01:05 AM

0

2

Community Consensus

Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1

-