net.minecraft.block.entity

public class ChestBlockEntity

extends LootInventoryBlockEntity implements Animated, Tickable

All mapped superinterfaces:

Inventory, Clearable, NamedMenuProvider, MenuProvider, Nameable, Animated, Tickable

btq
net.minecraft.class_2595
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.tileentity.ChestTileEntity
net.minecraft.tileentity.ChestTileEntity

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
i
field_11927
inventory
field_145985_p
field_145985_p
protected float
a
field_11929
animationProgress
field_145989_m
field_145989_m
protected float
b
field_11926
lastAnimationProgress
field_145986_n
field_145986_n
protected int
c
field_11928
viewerCount
field_145987_o
field_145987_o
private int
j
field_11930
ticks
field_145983_q
field_145983_q

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
N_()
method_5439()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
c()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
protected Text
g()
method_17823()
m_68140721()
func_213907_g()
func_213907_g()
public void
a(ib arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT arg0)
public NbtCompound
b(ib arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT arg0)
public void
U_()
method_16896()
tick()
func_73660_a()
tick()
public static int
a(bhh arg0, bth arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
method_20364(class_1937 arg0, class_2624 arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
m_33972864(World arg0, InventoryBlockEntity arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
func_213977_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
func_213977_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
public static int
a(bhh arg0, bth arg1, int arg2, int arg3, int arg4)
method_17765(class_1937 arg0, class_2624 arg1, int arg2, int arg3, int arg4)
m_78216156(World arg0, InventoryBlockEntity arg1, int arg2, int arg3, int arg4)
func_213976_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4)
func_213976_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4)
private void
a(yj arg0)
method_11050(class_3414 arg0)
playSound(SoundEvent sound)
func_195483_a(SoundEvent arg0)
playSound(SoundEvent soundIn)
public boolean
a_(int arg0, int arg1)
method_11004(int arg0, int arg1)
doEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
receiveClientEvent(int arg0, int arg1)
public void
a_(avx arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
openInventory(PlayerEntity arg0)
public void
b_(avx arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeInventory(PlayerEntity arg0)
protected void
r()
method_11049()
notifyViewerCountChange()
func_195482_p()
onOpenOrClose()
protected DefaultedList<ItemStack>
f()
method_11282()
getInventory()
func_190576_q()
getItems()
protected void
a(fj<bca> arg0)
method_11281(class_2371<class_1799> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public static int
a(bgr arg0, ev arg1)
method_11048(class_1922 arg0, class_2338 arg1)
getViewerCount(BlockView world, BlockPos pos)
func_195481_a(IBlockReader arg0, BlockPos arg1)
getPlayersUsing(IBlockReader reader, BlockPos posIn)
public static void
a(btq arg0, btq arg1)
method_11047(class_2595 arg0, class_2595 arg1)
swapContents(ChestBlockEntity chest1, ChestBlockEntity chest2)
func_199722_a(ChestTileEntity arg0, ChestTileEntity arg1)
swapContents(ChestTileEntity chest, ChestTileEntity otherChest)
protected InventoryMenu
a(int arg0, avw arg1)
method_5465(int arg0, class_1661 arg1)
m_98062691(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
public float
a(float arg0)
method_11274(float arg0)
getAnimationProgress(float arg0)
func_195480_a(float arg0)
getLidAngle(float arg0)