gamerule commandModificationBlockLimit 999999999
forceload add ~-100 ~-100 ~100 ~100
effect give @a[ distance= ..750] minecraft:blindness 45 1 true
execute at @s run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~ ~ ~100 run forceload add ~-100 ~-100 ~100 ~100

execute at @s positioned ~-400 ~ ~-400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~-200 ~ ~-400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~0 ~ ~-400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~200 ~ ~-400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~400 ~ ~-400 run forceload add ~-100 ~-100 ~100 ~100

execute at @s positioned ~-400 ~ ~-200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~-200 ~ ~-200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~0 ~ ~-200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~200 ~ ~-200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~400 ~ ~-200 run forceload add ~-100 ~-100 ~100 ~100

execute at @s positioned ~-400 ~ ~0 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~-200 ~ ~0 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~0 ~ ~0 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~200 ~ ~0 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~400 ~ ~0 run forceload add ~-100 ~-100 ~100 ~100

execute at @s positioned ~-400 ~ ~200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~-200 ~ ~200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~0 ~ ~200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~200 ~ ~200 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~400 ~ ~200 run forceload add ~-100 ~-100 ~100 ~100

execute at @s positioned ~-400 ~ ~400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~-200 ~ ~400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~0 ~ ~400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~200 ~ ~400 run forceload add ~-100 ~-100 ~100 ~100
execute at @s positioned ~400 ~ ~400 run forceload add ~-100 ~-100 ~100 ~100


execute at @s as @e[distance= ..600, type=#spore:fungus_entities] run data merge entity @s {TicksFrozen:9999}
fill ~500 ~-200 ~500 ~-500 ~200 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
fill ~500 ~-150 ~500 ~-500 ~150 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
fill ~500 ~-128 ~500 ~-500 ~128 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
fill ~500 ~-100 ~500 ~-500 ~100 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
fill ~500 ~-75 ~500 ~-500 ~75 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
fill ~500 ~-50 ~500 ~-500 ~50 ~-500 minecraft:packed_ice replace #spore:fungal_blocks
execute at @a[ distance= ..900] run playsound minecraft:block.amethyst_block.chime neutral @a ~ ~ ~ 30 0.1 0
execute as @s at @e[distance= ..500, type= #spore:fungus_entities] run fill ~ ~ ~ ~ ~ ~ spore:frozen_remains
forceload remove all
place feature minecraft:iceberg_blue
fillbiome ~64 ~64 ~64 ~-64 ~-64 ~-64 minecraft:ice_spikes
kill @s