Skip to content

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_feature in stack_feature
  • structure_set in add_structure_set_entries and remove_structure_set_entries
  • structure in set_pool_aliases and set_structure_spawn_condition
  • template_pool in add_template_pool_elements and set_pool_element_processors
  • processor_list in add_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.

Clone this wiki locally