-
Notifications
You must be signed in to change notification settings - Fork 15
Migrating to 1.4
Apollo edited this page Jan 10, 2025
·
2 revisions
Lithostitched 1.4 comes with a small breaking change to worldgen modifiers.
Fields for the target element to be modified (e.g. the template_pool field in the add_template_pool_elements modifier) are now plural and are object sets, meaning they now accept lists of elements and #-prefixed tags of objects on top of a single object.
Old syntax:
{
"type": "lithostitched:add_template_pool_elements",
"template_pool": "minecraft:trial_chambers/decor",
"elements": []
}New syntax:
{
"type": "lithostitched:add_template_pool_elements",
"template_pools": [ // This can still be a single element, the list is an example
"minecraft:trial_chambers/decor"
"example:some_other_pool"
],
"elements": []
}This applies to:
-
base_featureinstack_feature -
structure_setinadd_structure_set_entriesandremove_structure_set_entries -
structureinset_pool_aliasesandset_structure_spawn_condition -
template_poolinadd_template_pool_elementsandset_pool_element_processors -
processor_listinadd_processor_list_processors
Fixing this requires doing a find and replace for any instance of base_feature, structure_set, structure, template_pool, and processor_list in your worldgen modifiers and replacing them with their plural equivalents.
All json here can be generated using the Lithostitched generator website!