[GH-ISSUE #5553] Fluids declared by content mods #1731

Open
opened 2026-11-02 15:49:14 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @JuanLuci on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5553

Summary

Let content mods declare fluids, with a bucket and optionally a fluid block, and let the native tanks (API 54/55) hold any declared fluid, not only water and lava.

Why

Fluids are the base of most tech mods: Tinkers' Construct's molten metals, Immersive Engineering's creosote and plant oil, Thermal's resonant ender and redstone, Industrial Foregoing's latex, Create's honey and chocolate, Mekanism's fluids. On main, NativeFluidTank.fluid is minecraft:water or minecraft:lava, and content mods may declare blocks, items, mob effects and creative tabs, nothing else.

Proposal

  • data/<id>/horizon/fluid/*.json: still and flowing textures, tint, light level, density, viscosity, temperature, whether it can be placed in the world (copying water's or lava's behaviour as a template), and its bucket item.
  • Tanks and native_fluid_insert / native_fluid_extract / native_move_fluids accept any registered fluid id.
  • A helper to draw a tank's contents (a fluid-textured box with a fill level) from the block-entity drawing hook (#5548).
  • Fluids sync with the other content registries on LAN and servers.

On my fork

My fork has no fluid registry either: my Create basins keep fluids by id inside the Create code (basins.rs, input and output tanks of 1000 mB, neoforge:single and neoforge:tag fluid ingredients), with no bucket, fluid block or drawing behind them. This is the main gap for Create's pumps, pipes, tanks and steam engines, and for most tech mods after it.

Originally created by @JuanLuci on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5553 ## Summary Let content mods declare fluids, with a bucket and optionally a fluid block, and let the native tanks (API 54/55) hold any declared fluid, not only water and lava. ## Why Fluids are the base of most tech mods: Tinkers' Construct's molten metals, Immersive Engineering's creosote and plant oil, Thermal's resonant ender and redstone, Industrial Foregoing's latex, Create's honey and chocolate, Mekanism's fluids. On main, `NativeFluidTank.fluid` is `minecraft:water` or `minecraft:lava`, and content mods may declare blocks, items, mob effects and creative tabs, nothing else. ## Proposal - `data/<id>/horizon/fluid/*.json`: still and flowing textures, tint, light level, density, viscosity, temperature, whether it can be placed in the world (copying water's or lava's behaviour as a template), and its bucket item. - Tanks and `native_fluid_insert` / `native_fluid_extract` / `native_move_fluids` accept any registered fluid id. - A helper to draw a tank's contents (a fluid-textured box with a fill level) from the block-entity drawing hook (#5548). - Fluids sync with the other content registries on LAN and servers. ## On my fork My fork has no fluid registry either: my Create basins keep fluids by id inside the Create code (`basins.rs`, input and output tanks of 1000 mB, `neoforge:single` and `neoforge:tag` fluid ingredients), with no bucket, fluid block or drawing behind them. This is the main gap for Create's pumps, pipes, tanks and steam engines, and for most tech mods after it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1731
No description provided.