ChoiceTheorem's Overhauled Village

ChoiceTheorem's Overhauled Village

37M Downloads

[BUG] CTOV and Lithostitched Crash Due to Missing structure_sets Key

renzogem opened this issue ยท 1 comments

commented

Minecraft Version
1.21.1

CTOV Version
3.5.4

Add-ons used (Before 1.20)
N/A

Do you install Lithostitched?(1.20+)
Yes (Installed it first)

Describe the bug
When using CTOV v3.5.4 with Lithostitched v1.4 in Fabric, the game crashes during the registry loading phase. The issue stems from the configured structure_sets keys in ctov's JSON files (pillager_outpost.json and village.json), which leads to an IllegalStateException.

Steps to Reproduce
Install CTOV v3.5.4 and Lithostitched v1.4 in Fabric.
Launch Minecraft.
Observe the crash during registry loading.

Expected Behavior
The game should load the structure registry entries for pillager_outpost and village without errors.

Observed Behavior
The game fails to load due to the absence of structure_sets in pillager_outpost.json and village.json. The crash log highlights the following errors:

java.lang.IllegalStateException: No key structure_sets in MapLike[...]
Failed to load registries due to above errors

Additional context
The latest.log suggests an issue with the config files.

>Errors in registry lithostitched:worldgen_modifier:
>>Errors in element ctov:ctov/pillager_outpost:
java.lang.IllegalStateException: Failed to parse ctov:lithostitched/worldgen_modifier/ctov/pillager_outpost.json from pack ctov

MapLike[{"type":"lithostitched:add_structure_set_entries","structure_set":"minecraft:pillager_outposts","entries":[{"structure":"ctov:pillager_outpost_beach","weight":1},{"structure":"ctov:pillager_outpost_dark_forest","weight":1},{"structure":"ctov:pillager_outpost_desert","weight":1},{"structure":"ctov:pillager_outpost_jungle","weight":1},{"structure":"ctov:pillager_outpost_badlands","weight":1},{"structure":"ctov:pillager_outpost_mountain","weight":1},{"structure":"ctov:pillager_outpost_plains","weight":1},{"structure":"ctov:pillager_outpost_savanna","weight":1},{"structure":"ctov:pillager_outpost_snowy","weight":1},{"structure":"ctov:pillager_outpost_swamp","weight":1},{"structure":"ctov:pillager_outpost_taiga","weight":1}]}]

>>Errors in element ctov:ctov/village:
java.lang.IllegalStateException: Failed to parse ctov:lithostitched/worldgen_modifier/ctov/village.json from pack ctov
commented

Downgraded lithostitched to 1.3.10, now works!