fill ~ ~ ~ ~ ~ ~ minecraft:grass_path [] replace minecraft:grass_block []
fill ~ ~ ~ ~ ~ ~ minecraft:grass_path [] replace minecraft:dirt []
fill ~ ~ ~ ~ ~ ~ minecraft:grass_path [] replace minecraft:mycelium []
fill ~ ~ ~ ~ ~ ~ minecraft:grass_path [] replace minecraft:podzol []
fill ~ ~ ~ ~ ~ ~ minecraft:grass_path [] replace minecraft:dirt_with_roots []

execute if block ~ ~ ~ minecraft:grass_path [] run playsound use.grass @a ~ ~ ~