replaceitem entity @s slot.hotbar 0 barrier
replaceitem entity @s slot.hotbar 1 sand 1 0
replaceitem entity @s slot.hotbar 2 sand 1 1
replaceitem entity @s slot.hotbar 3 gravel 1 0
replaceitem entity @s slot.hotbar 4 air 1 0
replaceitem entity @s slot.hotbar 5 air 1 0
replaceitem entity @s slot.hotbar 6 air 1 0
replaceitem entity @s slot.hotbar 7 air 1 0
replaceitem entity @s slot.hotbar 8 air 1 0
scoreboard players set @s[r=3] sn 1
execute @s ~ ~ ~ function paint
