public interface Chest extends TileEntityCarrier
| Modifier and Type | Method and Description |
|---|---|
Set<Chest> |
getConnectedChests()
Returns the connected
Chests, if available. |
Optional<Inventory> |
getDoubleChestInventory()
Returns the inventory representing the combination of this chest
and its neighbor (which form a double chest), if available.
|
getInventorycreateArchetype, getBlock, getLocatableBlock, getType, isValid, setValidsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetInventory, getLocationOptional<Inventory> getDoubleChestInventory()
If this chest is not part of a double chest, then this method
will return Optional.empty().