Commit Graph
4 Commits
Author SHA1 Message Date
ABKQPO 6bc8cea2bf Roll a placement back to what was there rather than to air 2026-09-11 10:13:09 +08:00
ABKQPO 7adaa4841d Place the fluid of a round that finished its structure in the same round 2026-09-11 09:55:22 +08:00
ABKQPO 1632ad762a Name the fluid extractors after the item ones 2026-09-11 09:40:20 +08:00
ABKQPO 98101c00aa Add fluid block autoplace with a pluggable fluid cost and source API
Water, lava and every Forge fluid block can now be placed by survival autoplace, paid for with fluid instead of with an item.

* Fluid costs are registered per block state, water and lava are registered by default, and a registration can ask for fluid even when the block also has an item form.
* A fluid is only placed once the rest of the structure is in place, so it cannot flow out of a half built multiblock, and only the fluid missing from a position is charged, so topping up a leak costs the difference instead of a whole bucket.
* The fluid comes from the player: their fluid containers, plus whatever mods contribute through the new fluid container extractor and fluid source provider registries.
* Existing structure definitions need no change, as ofBlock and the other block elements become fluid elements when the block has no item form.
2026-09-10 18:35:16 +08:00