DefaultFluidHolder

constructor(compound: Provider<Compound>, containers: Map<NetworkedFluidContainer, NetworkConnectionType>, blockedFaces: Set<BlockFace>, defaultContainerConfig: () -> Map<BlockFace, NetworkedFluidContainer>, defaultConnectionConfig: () -> Map<BlockFace, NetworkConnectionType>?)

Parameters

compound

the Compound for data storage and retrieval

containers

all available NetworkedFluidContainers and their allowed NetworkConnectionType

defaultContainerConfig

the default (BlockFace, NetworkedFluidContainer) to be used if no configuration is stored

defaultConnectionConfig

the default (BlockFace, NetworkConnectionType) to be used if no configuration is stored