public interface Chest extends BlockEntity, ContainerBlockEntity
| Modifier and Type | Method and Description |
|---|---|
ContainerInventory |
getInventory() |
Chest |
getPair() |
boolean |
isFindable() |
boolean |
isPaired() |
boolean |
pairWith(Chest chest) |
void |
setFindable(boolean findable) |
boolean |
unpair() |
close, getBlock, getBlockState, getChunkTag, getClientTag, getCustomName, getItemTag, getLevel, getPosition, getServerTag, getType, hasCustomName, isClosed, isMovable, isSpawnable, isValid, loadAdditionalData, onBreak, onUpdate, saveAdditionalData, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAll, updateFromClientgetHopperPullSlots, getHopperPushSlotsboolean isFindable()
void setFindable(boolean findable)
ContainerInventory getInventory()
getInventory in interface InventoryHolderboolean isPaired()
Chest getPair()
boolean pairWith(Chest chest)
boolean unpair()
Copyright © 2020. All rights reserved.