net.minecraft.block.entity

public class ChestBlockEntity

extends LootInventoryBlockEntity implements Tickable

All mapped superinterfaces:

LockableMenuProvider, Inventory, Nameable, MenuProvider, Lootable, Tickable

ase
net.minecraft.class_216
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.tileentity.TileEntityChest

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
p
field_15152
inventory
chestContents
public boolean
a
field_517
doubleChest
adjacentChestChecked
public ChestBlockEntity
f
field_518
northNeighbor
adjacentChestZNeg
public ChestBlockEntity
g
field_519
eastNeighbor
adjacentChestXPos
public ChestBlockEntity
h
field_520
westNeighbor
adjacentChestXNeg
public ChestBlockEntity
i
field_521
southNeighbor
adjacentChestZPos
public float
j
field_522
animationProgress
lidAngle
public float
k
field_523
lastAnimationProgress
prevLidAngle
public int
l
field_524
viewerCount
numPlayersUsing
private int
q
field_526
ticks
ticksSinceSync
private ChestBlock$Type
r
field_12843
type
cachedChestType

Constructor summary

ModifierConstructor
public ()
public (ChestBlock$Type type)

Method summary

Modifier and TypeMethod
public int
v_()
method_2388()
getSize()
getSizeInventory()
public boolean
w_()
method_13922()
isEmpty()
isEmpty()
public String
h_()
method_2518()
getName()
getName()
public static void
a(ph arg0)
method_13325(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesChest(DataFixer fixer)
public void
a(du arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
readFromNBT(NBTTagCompound arg0)
public NbtCompound
b(du arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
writeToNBT(NBTTagCompound arg0)
public int
y_()
method_2389()
getMaxStackSize()
getInventoryStackLimit()
public void
B()
method_546()
clearBlockCache()
updateContainingBlockInfo()
private void
a(ase arg0, cv arg1)
method_8985(class_216 arg0, class_1354 arg1)
combineWithNeighbor(ChestBlockEntity neighborChest, Direction dir)
setNeighbor(TileEntityChest chestTe, EnumFacing side)
public void
o()
method_511()
updateShape()
checkForAdjacentChests()
protected ChestBlockEntity
a(cv arg0)
method_8986(class_1354 arg0)
findNeighborChest(Direction dir)
getAdjacentChest(EnumFacing side)
private boolean
b(co arg0)
method_8987(class_2552 arg0)
isChestOfSameType(BlockPos pos)
isChestAt(BlockPos posIn)
public void
F_()
method_2053()
tick()
update()
public boolean
c(int arg0, int arg1)
method_4838(int arg0, int arg1)
doEvent(int arg0, int arg1)
receiveClientEvent(int arg0, int arg1)
public void
b(aay arg0)
method_10894(class_988 arg0)
onOpen(PlayerEntity arg0)
openInventory(EntityPlayer arg0)
public void
c(aay arg0)
method_10895(class_988 arg0)
onClose(PlayerEntity arg0)
closeInventory(EntityPlayer arg0)
public void
z()
method_547()
markRemoved()
invalidate()
public ChestBlock$Type
p()
method_4806()
getType()
getChestType()
public String
l()
method_10906()
getMenuType()
getGuiID()
public InventoryMenu
a(aax arg0, aay arg1)
method_10905(class_987 arg0, class_988 arg1)
createMenu(PlayerInventory arg0, PlayerEntity arg1)
createContainer(InventoryPlayer arg0, EntityPlayer arg1)
protected DefaultedList<ItemStack>
q()
method_13730()
getInventory()
getItems()