-
Notifications
You must be signed in to change notification settings - Fork 3
close_off_fluid_sources_processor
finnsetchell edited this page Aug 15, 2026
·
1 revision
Turns fluid source blocks next to your structure into solid blocks, so lava or water sitting against the outside cannot pour in once the structure generates. Use it on structures that carve into terrain that is likely to be flooded, nether builds surrounded by lava especially.
Ported from RepurposedStructures (TelepathicGrunt).
{
"processor_type": "moogs_structures:close_off_fluid_sources_processor",
"ignore_down": true,
"if_air_in_world": true,
"weighted_list_of_replacement_blocks": [
{ "block": "minecraft:blackstone", "weight": 3 },
{ "block": "minecraft:basalt", "weight": 1 }
]
}| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
weighted_list_of_replacement_blocks |
array | yes | What fluid gets replaced with. | |
weighted_list_of_replacement_blocks[].block |
block id | yes | Plain block id, not a block-state. | |
weighted_list_of_replacement_blocks[].weight |
int | yes | 1 or higher. Relative to the sum. | |
ignore_down |
bool | no | false |
Skip the block directly below, leaving the floor alone. |
if_air_in_world |
bool | no | false |
Only act where the world block is currently air. |
Every non-solid block in your piece (air and cave air being the usual case) looks at its six neighbours in the world. Any neighbour that is a fluid source is replaced with a block rolled from your list. Your own structure blocks are never changed by this processor.
Mark the inside of the structure with cave air so the hollow interior triggers the sweep.
- Only source blocks. Flowing fluid is left alone, so a waterfall or lavafall running past the structure still runs.
- Water and lava are treated the same. There is no fluid filter. If you only want lava sealed, this processor cannot tell the difference.
-
Block ids only, no properties. Blocks are placed in their default state, so
minecraft:basaltalways comes outaxis=y. Pick blocks whose default state looks right. - A waterlogged neighbour counts as a source, and the whole block is replaced rather than just drained.
- Structure Processors overview.
-
flood_with_water_processorfor the opposite job.
Getting started
Core concepts
- pillar
- spawner_randomizing
- trial_spawner_randomizing
- vault_randomizing
- equip_armor_stand
- close_off_fluid_sources
- flood_with_water
- remove_floating_blocks
- random_replace_with_properties
- super_gravity
Advanced
- versioned_single_pool_element
- Nether jigsaw structures
- Enhanced terrain adaptation
- Entity processor framework
- Debug commands
- Advanced Topics
Examples