Skip to content

flood_with_water_processor

finnsetchell edited this page Aug 15, 2026 · 1 revision

flood_with_water_processor

Fills the inside of a structure with water up to a fixed height. Use it for sunken or partly submerged builds where you want the water line to sit at a specific Y rather than wherever the terrain puts it.

Ported from RepurposedStructures (TelepathicGrunt).

Minimal example

{
  "processor_type": "moogs_structures:flood_with_water_processor",
  "flood_level": 63
}

Fields

Field Type Required Notes
flood_level int yes Absolute world Y. Everything in the piece at or below this becomes water or waterlogged.

What gets flooded

At or below flood_level, in this order:

  1. Air, flower pots, buttons, and anything water can replace become water.
  2. Anything with a waterlogged property gets waterlogged instead.
  3. Bushes and similar plants become water.

Everything else is left alone.

Gotchas

  • flood_level is an absolute world Y, not an offset from the piece. The same processor list on a structure that generates at a different elevation will flood a different proportion of it. If your structure moves vertically, this value does not follow.
  • Flooded blocks get walled in with cracked stone bricks. Whenever a block floods, its neighbours to the sides and below are checked, and any that are non-solid and fluid-free are replaced with minecraft:cracked_stone_bricks. This seals the water in, but the block is hardcoded and can write into terrain just outside the structure. Expect it, and do not use this processor where that would look wrong.
  • Blocks converted to water lose their NBT. A container that floods is emptied rather than kept. Waterlogging preserves NBT.
  • Waterloggable blocks that water can also replace get destroyed into water rather than waterlogged, because that check runs first.

See also

Clone this wiki locally