Minecraft 1.12 Pre-Release 4
Create a function with this command
execute @s ~1 ~ ~ /fill ~ ~ ~ ~ 255 ~ dirt
In a command block
execute @p ~ ~ ~ function foo:bar
The pillar of dirt should be placed one in positive X, but it's placed on the player.
- is duplicated by
MC-117646 Relative coordinates with /function