FluidContainer
class FluidContainer(val uuid: UUID, val allowedTypes: Set<FluidType>, val capacityProvider: Provider<Long>, val typeProvider: MutableProvider<FluidType?>, val amountProvider: MutableProvider<Long>) : NetworkedFluidContainer
The default implementation for NetworkedFluidContainer.
Properties
Link copied to clipboard
The allowed fluid types that can be stored in this NetworkedFluidContainer.
Link copied to clipboard
The amount of fluid currently in this NetworkedFluidContainer.
Link copied to clipboard
Link copied to clipboard
The amount of fluid that can fit in this NetworkedFluidContainer.
Link copied to clipboard
Link copied to clipboard
The current FluidType of this NetworkedFluidContainer or null if the container does not contain any fluid.
Link copied to clipboard
Functions
Link copied to clipboard
Registers an update handler that is called when the container is updated.
Link copied to clipboard
Whether this NetworkedFluidContainer is empty.
Link copied to clipboard
Whether this NetworkedFluidContainer can accept any more fluid.