Universal Fluid API

This API adds support for fluid_buffers inside nodes. This means that nodes can contain fluid.

How to Use

  1. Add the node to the fluid_container group.
  2. Add the following to the node defintion:
    fluid_buffers = {
        buffer_name = {
            capacity = 2000,
            accepts = {"default:water_source", "group:water_source"}, -- you can also set this to true to accept any fluid!
            drainable = true,
        },
    }
    
  3. Set the appropriate metadata.

API

All numbers are in milli-buckets (1 bucket = 1000 mB).

License

bucket

See bucket/license.txt

fluid_lib

See LICENSE