
# -> Sound
playsound block.wood.break block @a ~ ~ ~ 1 1
playsound block.wood.break block @a ~ ~ ~ 1 1
playsound entity.zombie.break_wooden_door block @a ~ ~ ~ 0.2 1.5

# -> Drop item
$loot spawn ~ ~ ~ loot overly_realistic:blocks/wooden_racks/$(type)_rack

# -> Remove marker
kill @s