Overview
Structure modifiers allow you to modify Minecraft’s structure generation system, including template pools (jigsaw structures), structure sets, processor lists, and structure spawn conditions.Add Template Pool Elements
Adds structure pool elements to existing template pools.Parameters
Must be
"lithostitched:add_template_pool_elements"Execution priority. Lower values execute first.
Registry ID(s) of template pool(s) to modify. Supports tags with
# prefix.Array of pool elements to add. Each element contains:
Example
Add Structure Set Entries
Adds structure entries to structure sets, controlling which structures can generate together.Parameters
Must be
"lithostitched:add_structure_set_entries"Execution priority.
Registry ID(s) of structure set(s) to modify.
Array of structure selection entries to add.
Example
Remove Structure Set Entries
Removes structure entries from structure sets.Parameters
Must be
"lithostitched:remove_structure_set_entries"Execution priority. Defaults to 2000 to run after additions.
Registry ID(s) of structure set(s) to modify.
Array of structure registry IDs to remove.
Example
Set Pool Aliases
Sets or appends pool aliases for jigsaw structures, allowing dynamic pool replacement.Parameters
Must be
"lithostitched:set_pool_aliases"Execution priority.
Registry ID(s) of jigsaw structure(s) to modify.
Array of pool alias bindings. Each binding maps an alias to target pools.
Whether to append to existing aliases (
true) or replace them (false).Example
Set Pool Element Processors
Sets or appends structure processors to template pool elements.Parameters
Must be
"lithostitched:set_pool_element_processors"Execution priority.
Registry ID(s) of template pool(s) to modify.
Optional array of structure template locations to filter. If omitted, applies to all elements in the pool.
Registry ID or inline definition of processor list to apply.
Whether to append processors (
true) or replace them (false).Example
Set Structure Spawn Condition
Sets placement conditions for structure spawning.Parameters
Must be
"lithostitched:set_structure_spawn_condition"Execution priority.
Registry ID(s) of structure(s) to modify.
A
PlacementCondition object defining when the structure can spawn.Whether to append to existing conditions or replace them.
Example
Add Processor List Processors
Adds structure processors to existing processor lists.Parameters
Must be
"lithostitched:add_processor_list_processors"Execution priority.
Registry ID(s) of processor list(s) to modify.
A
StructureProcessorList object containing processors to add.Example
Add Structure Templates
Adds structure template locations to template lists.Parameters
Must be
"lithostitched:add_structure_templates"Execution priority.
Registry ID(s) of template list(s) to modify.
Template location(s) to add to the list.
Example
Best Practices
Template Pool Weights
Template Pool Weights
- Vanilla structures typically use weights between 1-10
- Higher weights increase selection probability
- Balance weights to maintain vanilla structure distribution
- Test in-game to verify desired spawn rates
Processor Order Matters
Processor Order Matters
- Processors execute in order within a list
- When appending, new processors run after existing ones
- Use
append: falseto completely replace processor behavior - Consider processor interactions carefully
Use Tags for Bulk Operations
Use Tags for Bulk Operations
Test Structure Generation
Test Structure Generation
- Use
/locate structureto find modified structures - Verify processor effects with different seeds
- Check that weights produce expected distribution
- Test with multiple datapacks enabled
Related
Pool Elements
Learn about structure pool element types
Processors
Explore structure processor types
Placement Conditions
Understand placement condition system
Examples
See practical structure modifier examples
