public interface Chest extends TileEntityCarrier
Modifier and Type | Method and Description |
---|---|
Set<Chest> |
getConnectedChests()
Returns the connected
Chest s, if available. |
Optional<Inventory> |
getDoubleChestInventory()
Returns the inventory representing the combination of this chest
and its neighbor (which form a double chest), if available.
|
getInventory
createArchetype, getBlock, getLocatableBlock, getType, isValid, setValid
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getInventory, getLocation
Optional<Inventory> getDoubleChestInventory()
If this chest is not part of a double chest, then this method
will return Optional.empty()
.