give @s[advancements={blazeandcave:building/i_dont_like_sand={sand=true}}] minecraft:sand 8
tellraw @s[advancements={blazeandcave:building/i_dont_like_sand={sand=true}}] {"color":"green","text":" +8 ","extra":[{"translate":"block.minecraft.sand"}]}

give @s[advancements={blazeandcave:building/i_dont_like_sand={red_sand=true,sand=false}}] minecraft:red_sand 8
tellraw @s[advancements={blazeandcave:building/i_dont_like_sand={red_sand=true,sand=false}}] {"color":"green","text":" +8 ","extra":[{"translate":"block.minecraft.red_sand"}]}