Skip to content

remove_floating_blocks_processor

finnsetchell edited this page Aug 15, 2026 · 2 revisions

remove_floating_blocks_processor

Deletes blocks that end up floating with nothing to support them, like grass or kelp left hanging after terrain adaptation cut the ground out from under them. Use it on structures that sit in terrain which may shift beneath them.

Ported from RepurposedStructures (TelepathicGrunt).

Minimal example

It takes no configuration:

{ "processor_type": "moogs_structures:remove_floating_blocks_processor" }

How it works

Air blocks in your NBT drive it, along with any block carrying a fluid: water, lava, or anything waterlogged. At each one, it clears upward through any world block that cannot survive where it is, then checks the four blocks around it and clears those too if they cannot survive.

Solid blocks in your structure do nothing, so the cleanup only reaches wherever you left open space.

Gotchas

  • It fills with whatever the template block was. Air clears to air and water clears to water, so a submerged piece pushes water into the gaps rather than air. A waterlogged block triggers it too and fills the gaps with copies of itself, which is rarely what you want.
  • It only reaches one block sideways and straight up. Diagonal floaters, or ones two blocks out, are left alone.
  • Put it after anything that reshapes terrain, since it reads the world as it stands at that point in the list.

See also

Clone this wiki locally