From f8cf5a9fe14e650ecb1ce124f142cb65ba80429a Mon Sep 17 00:00:00 2001 From: Pyritie Date: Thu, 25 Sep 2025 01:43:09 +0100 Subject: [PATCH] pog --- .../worldgen_modifier/contains_illages.json | 20 ++++++++++ .../structure_set/illagers/norse_village.json | 39 +++++-------------- 2 files changed, 29 insertions(+), 30 deletions(-) create mode 100644 kubejs/data/tfg/lithostitched/worldgen_modifier/contains_illages.json diff --git a/kubejs/data/tfg/lithostitched/worldgen_modifier/contains_illages.json b/kubejs/data/tfg/lithostitched/worldgen_modifier/contains_illages.json new file mode 100644 index 000000000..cc3a4e324 --- /dev/null +++ b/kubejs/data/tfg/lithostitched/worldgen_modifier/contains_illages.json @@ -0,0 +1,20 @@ +{ + "type": "lithostitched:set_structure_spawn_condition", + "structures": [ + "tfg:illagers/norse_village_living", + "tfg:illagers/norse_village_ruined" + ], + "spawn_condition": { + "type": "lithostitched:grid", + "condition": { + "type": "lithostitched:not", + "condition": { + "type": "lithostitched:in_biome", + "biomes": "#tfg:has_structure/illages" + } + }, + "radius": 105, + "distance_between_points": 15, + "allowed_count": 0 + } +} \ No newline at end of file diff --git a/kubejs/data/tfg/worldgen/structure_set/illagers/norse_village.json b/kubejs/data/tfg/worldgen/structure_set/illagers/norse_village.json index 69f7a0b81..9ccefd6fc 100644 --- a/kubejs/data/tfg/worldgen/structure_set/illagers/norse_village.json +++ b/kubejs/data/tfg/worldgen/structure_set/illagers/norse_village.json @@ -10,36 +10,15 @@ } ], "placement": { - "type": "lithostitched:condition", - "condition": { - "type": "lithostitched:all_of", - "conditions": [ - { - "type": "tfc:climate", - "salt": 26256356324, - "spacing": 40, - "separation": 25, - "climate": { - "min_temperature": -12, - "max_temperature": 5, - "min_rainfall": 200, - "max_forest": "edge" - } - }, - { - "type": "lithostitched:grid", - "radius": 105, - "distance_between_points": 15, - "condition": { - "type": "lithostitched:not", - "condition": { - "type": "lithostitched:in_biome", - "biomes": "#tfg:has_structure/illages" - } - }, - "allowed_count": 0 - } - ] + "type": "tfc:climate", + "salt": 26256356324, + "spacing": 40, + "separation": 25, + "climate": { + "min_temperature": -12, + "max_temperature": 5, + "min_rainfall": 200, + "max_forest": "edge" } } } \ No newline at end of file