RegionIO/internal/worldgen/data/structure_set/ruined_portals.json
Daniar Mannanov c488ce274f worldgen: parse structure sets and place them on the vanilla grid
Loads the 26.1.2 structure datapack: 20 structure sets, 34 structure
definitions, and the worldgen biome tags they reference. Random-spread
placement follows RandomSpreadStructurePlacement byte for byte — region
floorDiv by spacing, one Legacy stream salted per region, two
spread-type draws for the offset — and the four legacy frequency
reducers keep their exact draws, including the hardcoded buried-treasure
salt and the outpost's discarded full-range int.

Verified against the fixture: on seed 12345 the ruined_portals set
claims exactly chunk (1,0), the chunk whose captured blocks carry the
ruined portal's obsidian, gold, and crying obsidian. TestStructure-
PlacementGrid pins that plus village separation invariants.
2026-08-26 10:33:10 +03:00

38 lines
No EOL
728 B
JSON

{
"placement": {
"type": "minecraft:random_spread",
"salt": 34222645,
"separation": 15,
"spacing": 40
},
"structures": [
{
"structure": "minecraft:ruined_portal",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_desert",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_jungle",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_swamp",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_mountain",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_ocean",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_nether",
"weight": 1
}
]
}