net.minecraft.block.entity

public class ChestBlockEntity

extends LootInventoryBlockEntity implements Animated, Tickable

All mapped superinterfaces:

LockableMenuProvider, Inventory, Nameable, MenuProvider, Lootable, Animated, Tickable

bjl
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>
j
field_15152
inventory
field_145985_p
chestContents
protected float
a
field_522
animationProgress
field_145989_m
lidAngle
protected float
e
field_523
lastAnimationProgress
field_145986_n
prevLidAngle
protected int
f
field_524
viewerCount
field_145987_o
numPlayersUsing
private int
k
field_526
ticks
field_145983_q
ticksSinceSync

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> arg0)
public ()

Method summary

Modifier and TypeMethod
public int
T_()
method_2388()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
P_()
method_13922()
isEmpty()
func_191420_l()
isEmpty()
public Text
N_()
method_15540()
getName()
func_200200_C_()
getName()
public void
b(gy arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
func_145839_a(NBTTagCompound arg0)
read(NBTTagCompound arg0)
public NbtCompound
a(gy arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(NBTTagCompound arg0)
write(NBTTagCompound arg0)
public int
f()
method_2389()
getMaxStackSize()
func_70297_j_()
getInventoryStackLimit()
public void
Y_()
method_2053()
tick()
func_73660_a()
tick()
private void
a(wi arg0)
method_16794(class_2926 arg0)
playSound(SoundEvent sound)
func_195483_a(SoundEvent arg0)
playSound(SoundEvent soundIn)
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(aog arg0)
method_10894(class_988 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(EntityPlayer arg0)
openInventory(EntityPlayer arg0)
public void
c(aog arg0)
method_10895(class_988 arg0)
onClose(PlayerEntity arg0)
func_174886_c(EntityPlayer arg0)
closeInventory(EntityPlayer arg0)
protected void
p()
method_16795()
notifyViewerCountChange()
func_195482_p()
onOpenOrClose()
public String
l()
method_10906()
getMenuType()
func_174875_k()
getGuiID()
public InventoryMenu
a(aof arg0, aog 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()
protected void
a(ez<ate> arg0)
method_16834(class_3114<class_1071> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public static int
a(axk arg0, el arg1)
method_16792(class_1158 arg0, class_2552 arg1)
getViewerCount(BlockView world, BlockPos pos)
func_195481_a(IBlockReader arg0, BlockPos arg1)
getPlayersUsing(IBlockReader reader, BlockPos posIn)
public static void
a(bjl arg0, bjl arg1)
method_16793(class_216 arg0, class_216 arg1)
swapContents(ChestBlockEntity chest1, ChestBlockEntity chest2)
func_199722_a(TileEntityChest arg0, TileEntityChest arg1)
swapContents(TileEntityChest chest, TileEntityChest otherChest)
public float
a(float arg0)
method_16830(float arg0)
getAnimationProgress(float arg0)
func_195480_a(float arg0)
getLidAngle(float arg0)