net.minecraft.block.entity

public class ChestBlockEntity

extends InventoryBlockEntity implements Tickable, Inventory

All mapped superinterfaces:

MenuProvider, Nameable, LockableMenuProvider, Inventory, Tickable

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

Field summary

Modifier and TypeField
private ItemStack[]
m
field_525
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
n
field_526
ticks
ticksSinceSync
private int
o
field_5649
chestType
cachedChestType
private String
p
field_5650
customName
customName

Constructor summary

ModifierConstructor
public ()
public (int type)

Method summary

Modifier and TypeMethod
public int
o_()
method_2388()
getSize()
getSizeInventory()
public ItemStack
a(int arg0)
method_2381(int arg0)
getItem(int arg0)
getStackInSlot(int arg0)
public ItemStack
a(int arg0, int arg1)
method_2382(int arg0, int arg1)
removeItem(int arg0, int arg1)
decrStackSize(int arg0, int arg1)
public ItemStack
b(int arg0)
method_2386(int arg0)
removeItemQuietly(int arg0)
removeStackFromSlot(int arg0)
public void
a(int arg0, zx arg1)
method_2383(int arg0, class_1071 arg1)
setItem(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
public String
e_()
method_2518()
getName()
getName()
public boolean
l_()
method_5339()
hasCustomName()
hasCustomName()
public void
a(String arg0)
method_4805(String arg0)
setCustomName(String name)
setCustomName(String name)
public void
a(dn arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
readFromNBT(NBTTagCompound arg0)
public void
b(dn arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
writeToNBT(NBTTagCompound arg0)
public int
q_()
method_2389()
getMaxStackSize()
getInventoryStackLimit()
public boolean
a(wn arg0)
method_2384(class_988 arg0)
isValid(PlayerEntity arg0)
isUseableByPlayer(EntityPlayer arg0)
public void
E()
method_546()
clearBlockCache()
updateContainingBlockInfo()
private void
a(aky arg0, cq arg1)
method_8985(class_216 arg0, class_1354 arg1)
combineWithNeighbor(ChestBlockEntity neighborChest, Direction dir)
func_174910_a(TileEntityChest chestTe, EnumFacing side)
public void
m()
method_511()
updateShape()
checkForAdjacentChests()
protected ChestBlockEntity
a(cq arg0)
method_8986(class_1354 arg0)
findNeighborChest(Direction dir)
getAdjacentChest(EnumFacing side)
private boolean
b(cj arg0)
method_8987(class_2552 arg0)
isChestOfSameType(BlockPos pos)
isChestAt(BlockPos posIn)
public void
c()
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(wn arg0)
method_10894(class_988 arg0)
onOpen(PlayerEntity arg0)
openInventory(EntityPlayer arg0)
public void
c(wn arg0)
method_10895(class_988 arg0)
onClose(PlayerEntity arg0)
closeInventory(EntityPlayer arg0)
public boolean
b(int arg0, zx arg1)
method_5338(int arg0, class_1071 arg1)
isItemAllowed(int arg0, ItemStack arg1)
isItemValidForSlot(int arg0, ItemStack arg1)
public void
y()
method_547()
markRemoved()
invalidate()
public int
n()
method_4806()
getChestType()
getChestType()
public String
k()
method_10906()
getMenuType()
getGuiID()
public InventoryMenu
a(wm arg0, wn arg1)
method_10905(class_987 arg0, class_988 arg1)
createMenu(PlayerInventory arg0, PlayerEntity arg1)
createContainer(InventoryPlayer arg0, EntityPlayer arg1)
public int
a_(int arg0)
method_10892(int arg0)
getData(int arg0)
getField(int arg0)
public void
b(int arg0, int arg1)
method_10893(int arg0, int arg1)
setData(int arg0, int arg1)
setField(int arg0, int arg1)
public int
g()
method_10896()
getDataSize()
getFieldCount()
public void
l()
method_10897()
clear()
clear()