setblock ~ ~-1 ~ sand
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_80 run setblock ~-1 ~-1 ~0 sand
execute if predicate kiwi2:chance_random_30 run setblock ~0 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_40 run setblock ~0 ~-1 ~-1 sand

execute if predicate kiwi2:chance_random_70 run setblock ~2 ~-1 ~1 red_sand
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_30 run setblock ~1 ~-1 ~2 sand
execute if predicate kiwi2:chance_random_50 run setblock ~-1 ~-1 ~-2 sandstone
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_60 run setblock ~-2 ~-1 ~2 sand

execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_20 run setblock ~-3 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_70 run setblock ~1 ~-1 ~-3 red_sand
execute if predicate kiwi2:chance_random_60 run setblock ~2 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-3 sand

execute if predicate kiwi2:chance_random_50 run setblock ~2 ~-1 ~2 sand
execute if predicate kiwi2:chance_random_30 run setblock ~-2 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_80 run setblock ~-3 ~-1 ~-3 sand

execute if predicate kiwi2:chance_random_40 run setblock ~1 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_70 run setblock ~-1 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_50 run setblock ~2 ~-1 ~0 sand
execute if predicate kiwi2:chance_random_50 run setblock ~0 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_70 run setblock ~-1 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_20 run setblock ~2 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_10 run setblock ~1 ~-1 ~-2 sand

execute if predicate kiwi2:chance_random_20 run setblock ~1 ~ ~1 red_sand
execute if predicate kiwi2:chance_random_50 run setblock ~-1 ~ ~-1 red_sand

execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_40 run setblock ~1 ~-1 ~-1 red_sand
execute if predicate kiwi2:chance_random_30 run setblock ~-1 ~-1 ~2 red_sand

execute if predicate kiwi2:chance_random_20 run setblock ~2 ~-1 ~2 red_sand
execute if predicate kiwi2:chance_random_20 run setblock ~-2 ~-1 ~-2 red_sand

execute store result score world StructureRoll run random value 1..6
execute if score world StructureRoll matches 1 run place template nether_fossils/fossil_14 ~ ~ ~
execute if score world StructureRoll matches 2 run place template nether_fossils/fossil_14 ~ ~ ~ clockwise_90
execute if score world StructureRoll matches 3 run place template nether_fossils/fossil_14 ~ ~ ~ counterclockwise_90
execute if score world StructureRoll matches 4 run place template nether_fossils/fossil_14 ~ ~ ~ none none 0.8
execute if score world StructureRoll matches 5 run place template nether_fossils/fossil_14 ~ ~ ~ clockwise_90 none 0.8
execute if score world StructureRoll matches 6 run place template nether_fossils/fossil_14 ~ ~ ~ counterclockwise_90 none 0.8
tag @s add desert_platform_marker_placed