net.minecraft.block.entity

public class ChestBlockEntity

extends LootableContainerBlockEntity implements ChestAnimationProgress, Tickable

All mapped superinterfaces:

Inventory, Clearable, NameableContainerFactory, ContainerFactory, Nameable, ChestAnimationProgress, Tickable

bua
net.minecraft.world.level.block.entity.ChestBlockEntity
net.minecraft.class_2595
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.unmapped.C_idrrrnej
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.tileentity.ChestTileEntity
net.minecraft.tileentity.ChestTileEntity

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
i
items
field_11927
inventory
f_dzbwklnz
inventory
field_145985_p
chestContents
protected float
a
openness
field_11929
animationAngle
f_yuduglrm
animationProgress
field_145989_m
lidAngle
protected float
b
oOpenness
field_11926
lastAnimationAngle
f_qngupplp
lastAnimationProgress
field_145986_n
prevLidAngle
protected int
c
openCount
field_11928
viewerCount
f_qmqdzasc
viewerCount
field_145987_o
numPlayersUsing
private int
j
tickInterval
field_11930
ticksOpen
f_pilmzkvd
ticks
field_145983_q
ticksSinceSync

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
M_()
getContainerSize()
method_5439()
getInvSize()
m_dmbfvefd()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
c()
isEmpty()
method_5442()
isInvEmpty()
m_ohnjwggm()
isEmpty()
func_191420_l()
isEmpty()
protected Text
g()
getDefaultName()
method_17823()
getContainerName()
m_egjsjpyi()
m_68140721()
func_213907_g()
getDefaultName()
public void
a(id arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT arg0)
public CompoundTag
b(id arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
m_fzlqwslp(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT arg0)
public void
T_()
tick()
method_16896()
tick()
m_wqkjfdad()
tick()
func_73660_a()
tick()
public static int
a(bhr arg0, btr arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
getOpenCount(Level arg0, BaseContainerBlockEntity 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 world, LockableContainerBlockEntity blockEntity, int ticksOpen, int x, int y, int z, int viewerCount)
m_oektacyw(C_cdctfzbn arg0, C_uomuzarq 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(bhr arg0, btr arg1, int arg2, int arg3, int arg4)
getOpenCount(Level arg0, BaseContainerBlockEntity arg1, int arg2, int arg3, int arg4)
method_17765(class_1937 arg0, class_2624 arg1, int arg2, int arg3, int arg4)
countViewers(World world, LockableContainerBlockEntity container, int ticksOpen, int x, int y)
m_vhumvvut(C_cdctfzbn arg0, C_uomuzarq 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(yo arg0)
playSound(SoundEvent arg0)
method_11050(class_3414 arg0)
playSound(SoundEvent arg0)
m_ojfpbjvq(C_avavozay arg0)
playSound(SoundEvent sound)
func_195483_a(SoundEvent arg0)
playSound(SoundEvent soundIn)
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onBlockAction(int arg0, int arg1)
m_qrmwzmws(int arg0, int arg1)
doEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
receiveClientEvent(int arg0, int arg1)
public void
a_(awg arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onInvOpen(PlayerEntity arg0)
m_uhfxptkc(C_jzrpycqo arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
openInventory(PlayerEntity arg0)
public void
b_(awg arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onInvClose(PlayerEntity arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeInventory(PlayerEntity arg0)
protected void
h()
signalOpenCount()
method_11049()
onInvOpenOrClose()
m_ghjuhyxe()
notifyViewerCountChange()
func_195482_p()
onOpenOrClose()
protected DefaultedList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
m_qkfbvwxz()
getInventory()
func_190576_q()
getItems()
protected void
a(fk<bcj> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public static int
a(bhb arg0, ew arg1)
getOpenCount(BlockGetter arg0, BlockPos arg1)
method_11048(class_1922 arg0, class_2338 arg1)
getPlayersLookingInChestCount(BlockView world, BlockPos pos)
m_vprywvxj(C_peaveboq arg0, C_hynzadkk arg1)
getViewerCount(BlockView world, BlockPos pos)
func_195481_a(IBlockReader arg0, BlockPos arg1)
getPlayersUsing(IBlockReader reader, BlockPos posIn)
public static void
a(bua arg0, bua arg1)
swapContents(ChestBlockEntity arg0, ChestBlockEntity arg1)
method_11047(class_2595 arg0, class_2595 arg1)
copyInventory(ChestBlockEntity from, ChestBlockEntity to)
m_djlnqcoo(C_idrrrnej arg0, C_idrrrnej arg1)
swapContents(ChestBlockEntity chest1, ChestBlockEntity chest2)
func_199722_a(ChestTileEntity arg0, ChestTileEntity arg1)
swapContents(ChestTileEntity chest, ChestTileEntity otherChest)
protected Container
a(int arg0, awf arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createContainer(int arg0, PlayerInventory arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
m_98062691(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createMenu(int arg0, PlayerInventory arg1)
public float
a(float arg0)
getOpenNess(float arg0)
method_11274(float arg0)
getAnimationProgress(float arg0)
m_vychuftq(float arg0)
getAnimationProgress(float arg0)
func_195480_a(float arg0)
getLidAngle(float arg0)