mojira.dev
MC-56253

/execute from half slab rounds Y down not up

"/setblock ~ ~2 ~ dirt" places above your head, even when on a halfslab.

"/execute @p ~ ~ ~ /setblock ~ ~2 ~" also places above your head, except not when on a half slab. It places in your head.

This also can be seen if you:
/summon Fireball ~ ~2 ~ {direction:[]}
/execute @p ~ ~ ~ /summon Fireball ~ ~2 ~ {direction:[]}

Video of setblock for evidence / unmistakable ability to recreate:
http://youtu.be/ekbPS_XoCV4

Linked issues

Attachments

Comments

kumasasa

Confirmed.

KingSupernova

Confirmed for 1.8.2 pre-1. MC-76491 has better information, so I would suggest that become the main post.

kumasasa

Relinked to MC-67515

KingSupernova

This isn't a dupe of MC-67515, although it is related.

KingSupernova

This is not a duplicate of MC-67515. That report is about command blocks executing from their center, this report is about relative coordinates being treated differently depending on whether they are in an execute command or not.

user-f2760

Agreed, reopened.

SunCat

Dupe of MC-105820

user-f2760

Indeed same cause.

setzke

(Unassigned)

Confirmed

Minecraft 14w21b, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1

Retrieved