Skip to content

Add fluid autoplace support to water structure elements - #8007

Open
ABKQPO wants to merge 1 commit into
masterfrom
multiblock-water-autoplace
Open

Add fluid autoplace support to water structure elements#8007
ABKQPO wants to merge 1 commit into
masterfrom
multiblock-water-autoplace

Conversation

@ABKQPO

@ABKQPO ABKQPO commented Sep 11, 2026

Copy link
Copy Markdown
Member

Summary

Allows multiblocks with internal water requirements to be built by autoplace using the player's water

ofAnyWater now defines a one-bucket fluid requirement and supports fluid autoplace, with flowing water allowed only when allowFlowing is enabled

Missing water is deferred instead of treated as an error, allowing alternatives such as ofChain(ofAnyWater(false), isAir()) to work correctly

Structure element wrappers now preserve fluid element flags and requirements

required GTNewHorizons/StructureLib#72

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

…rappers

The projector can now fill the water the water multiblocks need, paying for it with the water the player is carrying.

* ofAnyWater pays for its water with fluid, and a position that already holds flowing water is topped up by the difference.
* When the player has no water to spare the element stays silent and the isAir fallback keeps the old behaviour.
* ProxyStructureElement, triggerItemTransform and the GT++ solar tower element forward isFluidElement, so a wrapped fluid element is still recognised by the fluid placement gate.
* Requires StructureLib 1.4.44.
@ABKQPO ABKQPO changed the title Add fluid autoplace support to water structure elements and element w… Add fluid autoplace support to water structure elements Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant