$execute as $(name) run function mt:treasure/player/update/rare

setblock ~ ~ ~ minecraft:barrel[facing=up]{LootTable:"mt:chests/mushroom/rare",CustomName:{"text":"     Rare Mushroom Treasure","color":"blue","bold":false,"italic":false}} destroy


particle minecraft:mycelium ~ ~ ~ 0.5 0.5 0.5 2 500
playsound minecraft:block.vine.fall master @a[distance=..15] ~ ~ ~ 10 0.1 1
