net.minecraft.block.entity

public class ChestBlockEntity

extends LootInventoryBlockEntity implements Tickable

All mapped superinterfaces:

LockableMenuProvider, Inventory, Nameable, MenuProvider, Lootable, Tickable

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

Field summary

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

Constructor summary

ModifierConstructor
public ()
public (ChestBlock$Type type)

Method summary

Modifier and TypeMethod
public int
w_()
method_2388()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
x_()
method_13922()
isEmpty()
func_191420_l()
isEmpty()
public String
h_()
method_2518()
getName()
func_70005_c_()
getName()
public static void
a(ry arg0)
method_13325(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
func_189677_a(DataFixer arg0)
registerFixesChest(DataFixer fixer)
public void
a(fy arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
func_145839_a(NBTTagCompound arg0)
readFromNBT(NBTTagCompound arg0)
public NbtCompound
b(fy arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(NBTTagCompound arg0)
writeToNBT(NBTTagCompound arg0)
public int
z_()
method_2389()
getMaxStackSize()
func_70297_j_()
getInventoryStackLimit()
public void
B()
method_546()
clearBlockCache()
func_145836_u()
updateContainingBlockInfo()
private void
a(avl arg0, fa arg1)
method_8985(class_216 arg0, class_1354 arg1)
combineWithNeighbor(ChestBlockEntity neighborChest, Direction dir)
func_174910_a(TileEntityChest arg0, EnumFacing arg1)
setNeighbor(TileEntityChest chestTe, EnumFacing side)
public void
o()
method_511()
updateShape()
func_145979_i()
checkForAdjacentChests()
protected ChestBlockEntity
a(fa arg0)
method_8986(class_1354 arg0)
findNeighborChest(Direction dir)
func_174911_a(EnumFacing arg0)
getAdjacentChest(EnumFacing side)
private boolean
b(et arg0)
method_8987(class_2552 arg0)
isChestOfSameType(BlockPos pos)
func_174912_b(BlockPos arg0)
isChestAt(BlockPos posIn)
public void
e()
method_2053()
tick()
func_73660_a()
update()
public boolean
c(int arg0, int arg1)
method_4838(int arg0, int arg1)
doEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
receiveClientEvent(int arg0, int arg1)
public void
b(aed arg0)
method_10894(class_988 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(EntityPlayer arg0)
openInventory(EntityPlayer arg0)
public void
c(aed arg0)
method_10895(class_988 arg0)
onClose(PlayerEntity arg0)
func_174886_c(EntityPlayer arg0)
closeInventory(EntityPlayer arg0)
public void
z()
method_547()
markRemoved()
func_145843_s()
invalidate()
public ChestBlock$Type
p()
method_4806()
getType()
func_145980_j()
getChestType()
public String
l()
method_10906()
getMenuType()
func_174875_k()
getGuiID()
public InventoryMenu
a(aec arg0, aed arg1)
method_10905(class_987 arg0, class_988 arg1)
createMenu(PlayerInventory arg0, PlayerEntity arg1)
func_174876_a(InventoryPlayer arg0, EntityPlayer arg1)
createContainer(InventoryPlayer arg0, EntityPlayer arg1)
protected DefaultedList<ItemStack>
q()
method_13730()
getInventory()
func_190576_q()
getItems()