net.minecraft.block.entity

public class ChestBlockEntity

extends LootableContainerBlockEntity implements ChestAnimationProgress, Tickable

All mapped superinterfaces:

Inventory, Clearable, NameableContainerProvider, ContainerProvider, Nameable, ChestAnimationProgress, Tickable

btv
net.minecraft.class_2595
net.minecraft.block.entity.ChestBlockEntity
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
inventory
field_145985_p
chestContents
protected float
a
field_11929
animationAngle
animationProgress
field_145989_m
lidAngle
protected float
b
field_11926
lastAnimationAngle
lastAnimationProgress
field_145986_n
prevLidAngle
protected int
c
field_11928
viewerCount
viewerCount
field_145987_o
numPlayersUsing
private int
j
field_11930
ticksOpen
ticks
field_145983_q
ticksSinceSync

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
M_()
method_5439()
getInvSize()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
c()
method_5442()
isInvEmpty()
isEmpty()
func_191420_l()
isEmpty()
protected Text
g()
method_17823()
getContainerName()
m_68140721()
func_213907_g()
getDefaultName()
public void
a(ic arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
readNbt(NbtCompound arg0)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT arg0)
public CompoundTag
b(ic arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT arg0)
public void
T_()
method_16896()
tick()
tick()
func_73660_a()
tick()
public static int
a(bhm arg0, btm 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)
tickViewerCount(World arg0, LockableContainerBlockEntity 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)
calculatePlayersUsingSync(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
public static int
a(bhm arg0, btm arg1, int arg2, int arg3, int arg4)
method_17765(class_1937 arg0, class_2624 arg1, int arg2, int arg3, int arg4)
countViewers(World arg0, LockableContainerBlockEntity 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)
calculatePlayersUsing(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4)
private void
a(ym arg0)
method_11050(class_3414 arg0)
playSound(SoundEvent 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)
onBlockAction(int arg0, int arg1)
doEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
receiveClientEvent(int arg0, int arg1)
public void
a_(awb arg0)
method_5435(class_1657 arg0)
onInvOpen(PlayerEntity arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
openInventory(PlayerEntity arg0)
public void
b_(awb arg0)
method_5432(class_1657 arg0)
onInvClose(PlayerEntity arg0)
onClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeInventory(PlayerEntity arg0)
protected void
h()
method_11049()
onInvOpenOrClose()
notifyViewerCountChange()
func_195482_p()
onOpenOrClose()
protected DefaultedList<ItemStack>
f()
method_11282()
getInvStackList()
getInventory()
func_190576_q()
getItems()
protected void
a(fj<bce> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public static int
a(bgw arg0, ev arg1)
method_11048(class_1922 arg0, class_2338 arg1)
getPlayersLookingInChestCount(BlockView arg0, BlockPos arg1)
getViewerCount(BlockView world, BlockPos pos)
func_195481_a(IBlockReader arg0, BlockPos arg1)
getPlayersUsing(IBlockReader reader, BlockPos posIn)
public static void
a(btv arg0, btv arg1)
method_11047(class_2595 arg0, class_2595 arg1)
copyInventory(ChestBlockEntity arg0, ChestBlockEntity arg1)
swapContents(ChestBlockEntity chest1, ChestBlockEntity chest2)
func_199722_a(ChestTileEntity arg0, ChestTileEntity arg1)
swapContents(ChestTileEntity chest, ChestTileEntity otherChest)
protected Container
a(int arg0, awa arg1)
method_5465(int arg0, class_1661 arg1)
createContainer(int arg0, PlayerInventory arg1)
m_98062691(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createMenu(int arg0, PlayerInventory arg1)
public float
a(float arg0)
method_11274(float arg0)
getAnimationProgress(float arg0)
getAnimationProgress(float arg0)
func_195480_a(float arg0)
getLidAngle(float arg0)