DefaultItemHolder
constructor(compound: Provider<Compound>, containers: Map<NetworkedInventory, NetworkConnectionType>, mergedInventory: NetworkedInventory?, blockedFaces: Set<BlockFace>, defaultInventoryConfig: () -> Map<BlockFace, NetworkedInventory>, defaultConnectionConfig: () -> Map<BlockFace, NetworkConnectionType>?)
Parameters
compound
the Compound for data storage and retrieval
containers
all available NetworkedInventories and their allowed NetworkConnectionType
mergedInventory
the NetworkedInventory that is the merged inventory of all NetworkedInventories, or null if there is no merged inventory
defaultInventoryConfig
the default (BlockFace, NetworkedInventory) to be used if no configuration is stored
defaultConnectionConfig
the default (BlockFace, NetworkConnectionType) to be used if no configuration is stored. If null, the connection config will be automatically generated using the highest possible connection type for each side.