Wiki 9Minecraft Wiki 9Minecraft

Integrate Custom Fluids into Your Machine's Network

Java EditionModGuides 4FAQ 10Related mods 60
DownloadAE2 Addon Lib Mod

Get the files on 9Minecraft

Contents (3)
  1. Adding Fluid Support to Custom Machines
  2. Registering a Custom Fluid
  3. Using Fluids in Your Machine

Adding Fluid Support to Custom Machines

AE2 Addon Lib simplifies fluid registration and ensures your custom fluids work smoothly with both your machine and the broader AE2 network.

Registering a Custom Fluid

1. Define your fluid properties (name, color, texture, viscosity).

2. Use the addon library's fluid registry to register it alongside your machine.

3. The library automatically creates both the flowing and source fluid variants.

4. Fluids are immediately compatible with AE2's fluid storage and transport systems.

Using Fluids in Your Machine

1. Add a fluid tank slot widget to your machine's menu using the specialized fluid tank component.

2. Connect the tank widget to your machine's internal fluid storage.

3. The addon library handles tank rendering and fluid level display automatically.

4. When your machine needs to input or output fluid, use the standard capability system—the library manages network compatibility.

5. Test by placing your machine, filling the tank, and verifying fluid flows through AE2 cables.

The addon library ensures your custom fluids behave identically to vanilla AE2 fluids in all contexts.

More guides for this mod