I made it so that the interior is the starting point of the structure, but the interior seemingly doesn't generate after the second floor. It cuts off like this when it picks the middle piece, and acts normally if it picks the roof piece.
#Structure pieces not generating after second piece
1 messages · Page 1 of 1 (latest)
Here's the code in the beseiged:tower_in_body_cherry pool btw, I was trying to make the tower have a random number of floors between the base and the roof pieces:
{
"name": "tower_in_body_cherry",
"fallback": "beseiged:tower_in_body_cherry",
"elements": [
{
"weight": 5,
"element": {
"element_type": "minecraft:legacy_single_pool_element",
"projection": "rigid",
"location": "beseiged:tower/interior_body/cherry",
"processors": "minecraft:ancient_city_generic_degradation",
"override_liquid_settings": "apply_waterlogging"
}
},
{
"weight": 1,
"element": {
"element_type": "minecraft:legacy_single_pool_element",
"projection": "rigid",
"location": "beseiged:tower/interior_top/cherry",
"processors": "minecraft:ancient_city_generic_degradation",
"override_liquid_settings": "apply_waterlogging"
}
}
]
}
Also, here's the structure file for it:
{
"type": "minecraft:jigsaw",
"biomes": [
"minecraft:meadow",
"minecraft:cherry_grove",
"minecraft:grove",
"minecraft:windswept_hills",
"minecraft:windswept_forest",
"forest",
"minecraft:flower_forest",
"minecraft:taiga",
"minecraft:old_growth_pine_taiga",
"minecraft:old_growth_spruce_taiga",
"minecraft:snowy_taiga",
"minecraft:birch_forest",
"minecraft:old_growth_birch_forest",
"minecraft:dark_forest",
"minecraft:pale_garden",
"minecraft:jungle",
"minecraft:sparse_jungle",
"minecraft:bamboo_jungle",
"minecraft:swamp",
"minecraft:mangrove_swamp",
"minecraft:plains",
"minecraft:sunflower_plains",
"minecraft:snowy_plains",
"minecraft:ice_spikes",
"minecraft:savanna",
"minecraft:savanna_plateau",
"minecraft:windswept_savanna",
"minecraft:badlands",
"minecraft:wooded_badlands",
"minecraft:eroded_badlands",
"minecraft:deep_dark"
],
"step": "surface_structures",
"terrain_adaptation": "beard_thin",
"spawn_overrides": {},
"start_pool": "beseiged:tower_in_base",
"size": 8,
"start_height": {
"absolute": 1
},
"project_start_to_heightmap": "WORLD_SURFACE_WG",
"max_distance_from_center": 80,
"use_expansion_hack": true,
"liquid_settings": "apply_waterlogging"
}
By the way, the interior decoration and spawner pieces are generating on the floor above the base floor
Is the interior and exterior part of the same structure?
The interior part has a jigsaw that generates the exterior, and I made the size of each corresponding piece's bounding box the same (19 length and width for all, then 5 height for base and body pieces but 18 height for the top exterior and 19 height for the top interior).
That's why then. Once your interior piece generates the surrounding exterior piece, that becomes the new bounding box that the jigsaw which is trying to generate the next floor cannot generate outside of
Wouldn't that stop the floor above the base floor from generating too?
That's what you're describing in the opening post, is it not?
One floor is generating above the base floor, it just isn't making any more above that.
Not super sure from these angles then, but it seems pretty clear that it's a bounding box issue if you're absolutely positive your template pools and their respective location paths are set up correctly
They seem right, and the boxes are the same too, maybe I should try without the exterior... would just removing the template pools for the exteriors work for that?
I'd just make them produce empty pool elements to minimize warnings in the logs
It also works with the top and base exteriors enabled. So looks like the body piece is the problem?
Yup, the exterior body piece is the problem, I'm thinking of just combining it and the interior body piece into one, though would there be a way to keep them separate?
I merged the interior and exterior pieces into one, but the structure still doesn't generate past the first body piece.
I can't really help to the extent you need, it just requires hands-on troubleshooting. I can only advise what you should be troubleshooting. What you've found so far is great, and you've determine where the problem is, so you just need to hone in on what's causing it to fail there and adjust to comply
Soo, after a bit of messing around with different things, turns out the problem was the library interior decoration being 4 blocks tall and the priority numbers on the jigsaws being wrong. Now I'll just merge the top interiors and exterior to make sure that the top doesn't appear without the exterior.