execute if block ~ ~ ~ #svm_ep:no_physical_hitbox run setblock ~ ~ ~ minecraft:oak_wood
execute unless block ~ ~ ~ #svm_ep:indestructable run setblock ~ ~ ~ minecraft:oak_wood

execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=1}] run setblock ~ ~ ~ minecraft:spruce_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=2}] run setblock ~ ~ ~ minecraft:birch_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=3}] run setblock ~ ~ ~ minecraft:jungle_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=4}] run setblock ~ ~ ~ minecraft:acacia_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=5}] run setblock ~ ~ ~ minecraft:dark_oak_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=6}] run setblock ~ ~ ~ minecraft:mangrove_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=7}] run setblock ~ ~ ~ minecraft:cherry_wood
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=8}] run setblock ~ ~ ~ minecraft:crimson_hyphae
execute if block ~ ~ ~ #minecraft:logs as @s[scores={svm_ep.p.flora_climate=9}] run setblock ~ ~ ~ minecraft:warped_hyphae

playsound minecraft:block.wood.place block @a[distance=..8] ~ ~0.5 ~ 2 0.8