data merge block ~ ~ ~ {auto:0b}
execute at @e[tag=KyuPortMush] run fill ~-1 ~7 ~-1 ~1 ~7 ~1 minecraft:red_mushroom_block
execute at @e[tag=KyuPortMush] run fill ~-2 ~4 ~-1 ~2 ~6 ~1 minecraft:red_mushroom_block
execute at @e[tag=KyuPortMush] run fill ~1 ~4 ~2 ~-1 ~6 ~-2 minecraft:red_mushroom_block
execute at @e[tag=KyuPortMush] run fill ~ ~3 ~ ~ ~-1 ~ minecraft:mushroom_stem
execute at @e[tag=KyuPortMush] run fill ~ ~4 ~1 ~ ~ ~1 minecraft:ladder[facing=south]
execute at @e[tag=KyuPortMush] run fill ~ ~4 ~ ~ ~4 ~ minecraft:crafting_table
execute at @e[tag=KyuPortMush] run fill ~-1 ~5 ~-1 ~1 ~6 ~1 air
execute at @e[tag=KyuPortMush] run fill ~-3 ~ ~-3 ~3 ~7 ~3 minecraft:red_mushroom_block[down=true,east=true,north=true,south=true,up=true,west=true] replace minecraft:red_mushroom_block
execute at @e[tag=KyuPortMush] run fill ~1 ~4 ~1 ~-1 ~4 ~-1 minecraft:oak_planks replace minecraft:red_mushroom_block
execute at @e[tag=KyuPortMush] run fill ~-1 ~5 ~-1 ~-1 ~6 ~-1 minecraft:furnace[facing=south]
function zzzzdonotuse:trinketeffect/mushy/mushyhousechest
execute at @e[tag=KyuPortMush,tag=!MushyNoChest] run fill ~1 ~5 ~1 ~1 ~5 ~1 minecraft:ender_chest[facing=north]
execute at @e[tag=KyuPortMush] run fill ~ ~5 ~ ~ ~5 ~ minecraft:torch
execute at @e[tag=KyuPortMush] run fill ~ ~5 ~-1 ~ ~5 ~-1 minecraft:red_bed[facing=east,part=foot]
execute at @e[tag=KyuPortMush] run fill ~1 ~5 ~-1 ~1 ~5 ~-1 minecraft:red_bed[facing=east,part=head]
execute at @e[tag=KyuPortMush] run fill ~ ~5 ~1 ~ ~5 ~1 minecraft:oak_trapdoor[facing=north,open=false]
execute if entity @e[tag=KyuPortMush,scores={MushyTimer=..99}] run execute in minecraft:overworld run data merge block 999998 120 999971 {auto:1b}
tag @e[tag=KyuPortMush,scores={MushyTimer=100..}] add NoScoreSetMush
tag @e[tag=KyuPortMush,scores={MushyTimer=100..}] remove KyuPortMush