Or is there actually any way to do that?
Basically I do a /setblock ~ ~ ~ snow_layer
at the player but if it's above something that snow layer can't be on (eg. slab,sign,grass) it just looks buggy. :/
I could avoid it with causing a block update right after creating it.
Any idea is helpful even if you're not sure if it works or not! (best would be a one command block method)
As you can see on the picture looking for {OnGround:true}
doesn't solve it all the time:
UPDATE:
I could do a /setblock
above it, but that may remove other block, so I'm looking for a safer idea.
UPDATE 2:
Changed title to represent the problem more clearly.
Best Answer
Simple method
Run the following 2 commands sequentially in 1 tick:
First command places snow layer at player's position, and second command will update the snow layer and remove improper ones. Using this method will constantly update adjacent blocks around the block that the player's head is in, if you don't want that use advanced method instead.
Advanced method
<x> <y> <z>
and<x> <y+1> <z>
) on your world to this command block system. Which should be independant and kept away from any other blocks or entities.<x> <y> <z>
,<x> <y+1> <z>
with allocated blocks' coordinates from above