setblock ~ ~-1 ~ grass_block
# Inner Ring (Close to the seed)
execute if predicate kiwi2:chance_random_80 run setblock ~1 ~-1 ~0 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-1 ~-1 ~0 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~1 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~-1 grass_block

# Middle Ring (The "Jitter" layer)
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~1 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-1 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~1 ~-1 ~2 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-1 ~-1 ~-2 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~-2 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~2 grass_block

# Outer "Stragglers" (Sparse grass at the edges)
execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~0 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-3 ~-1 ~1 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~3 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~1 ~-1 ~-3 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~3 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-3 grass_block

# Diagonal Corners
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~2 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-2 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~3 grass_block
execute if predicate kiwi2:chance_random_80 run setblock ~-3 ~-1 ~-3 grass_block

# Lush Moss Core
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~1 moss_block
execute if predicate kiwi2:chance_random_50 run setblock ~-1 ~-1 ~-1 moss_block
execute if predicate kiwi2:chance_random_50 run setblock ~2 ~-1 ~0 moss_block
execute if predicate kiwi2:chance_random_50 run setblock ~0 ~-1 ~-2 moss_block

# Mossy Carpets (Vertical detail)
execute if predicate kiwi2:chance_random_30 run setblock ~1 ~ ~1 moss_carpet
execute if predicate kiwi2:chance_random_30 run setblock ~-1 ~ ~-1 moss_carpet

# Under-tree "Debris"
execute if predicate kiwi2:chance_random_50 run setblock ~0 ~-1 ~0 podzol
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~-1 podzol
execute if predicate kiwi2:chance_random_30 run setblock ~-1 ~-1 ~2 podzol

# Rough Soil (Coarse Dirt)
execute if predicate kiwi2:chance_random_30 run setblock ~2 ~-1 ~2 coarse_dirt
execute if predicate kiwi2:chance_random_30 run setblock ~-2 ~-1 ~-2 coarse_dirt

execute if predicate kiwi2:chance_random_40 run function kiwi2:run_dimension/platforms/forest_platform/natural_mobs/azalea_zombies

execute store result score world StructureRoll run random value 1..3
execute if score world StructureRoll matches 1 run place template kiwi2:platforms/forest/large_mossy_rock ~ ~-1 ~
execute if score world StructureRoll matches 3 run place template kiwi2:platforms/forest/large_mossy_rock ~ ~-1 ~ clockwise_90
execute if score world StructureRoll matches 2 run place template kiwi2:platforms/forest/large_mossy_rock ~ ~-1 ~ counterclockwise_90

tag @s add forest_platform_marker_placed