net.minecraft.world.level.block.entity

public class ChestBlockEntity

extends RandomizableContainerBlockEntity implements LidBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer, LidBlockEntity

dpq
net.minecraft.world.level.block.entity.ChestBlockEntity
net.minecraft.class_2595
net.minecraft.unmapped.C_idrrrnej
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.src.C_1997_
net.minecraft.world.level.block.entity.TileEntityChest

Field summary

Modifier and TypeField
private static final int
d
EVENT_SET_OPEN_COUNT
field_31332
f_zijmfljm
VIEWER_COUNT_UPDATE_EVENT_TYPE
SET_OPEN_COUNT_EVENT
f_155323_
private NonNullList<ItemStack>
e
items
field_11927
f_dzbwklnz
inventory
inventory
f_59073_
private final ContainerOpenersCounter
f
openersCounter
field_27209
f_nhgunjoy
stateManager
stateManager
f_155324_
private final ChestLidController
g
chestLidController
field_27210
f_dpnwqwrc
lidAnimator
lidAnimator
f_155325_

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> p_155328_, BlockPos pos, BlockState state)
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
protected Component
k()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
protected void
a(us arg0, jk$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_trzmaydr(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_334909_, C_213466_$C_254607_ arg1)
protected void
b(us arg0, jk$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_328166_, C_213466_$C_254607_ arg1)
public static void
a(dca arg0, iz arg1, dse arg2, dpq arg3)
lidAnimateTick(Level arg0, BlockPos arg1, BlockState arg2, ChestBlockEntity arg3)
method_31670(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2595 arg3)
m_tifqszuq(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_idrrrnej arg3)
clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity)
clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity)
m_155343_(C_1596_ p_155344_, C_4675_ p_155345_, C_2064_ p_155346_, C_1997_ p_155347_)
static void
a(dca arg0, iz arg1, dse arg2, avz arg3)
playSound(Level arg0, BlockPos arg1, BlockState arg2, SoundEvent arg3)
method_11050(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3414 arg3)
m_ojfpbjvq(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_avavozay arg3)
playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent)
playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent)
m_155338_(C_1596_ p_155339_, C_4675_ p_155340_, C_2064_ p_155341_, C_123_ p_155342_)
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
m_qrmwzmws(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
m_7531_(int p_59115_, int arg1)
public void
d_(cmz arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
m_uhfxptkc(C_jzrpycqo arg0)
onOpen(PlayerEntity arg0)
onOpen(PlayerEntity arg0)
m_5856_(C_1141_ arg0)
public void
c(cmz arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)
protected NonNullList<ItemStack>
j()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
m_58617_()
protected void
a(jr<cur> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
public float
a(float arg0)
getOpenNess(float arg0)
method_11274(float arg0)
m_vychuftq(float arg0)
getAnimationProgress(float arg0)
getAnimationProgress(float arg0)
m_6683_(float arg0)
public static int
a(dbg arg0, iz arg1)
getOpenCount(BlockGetter arg0, BlockPos arg1)
method_11048(class_1922 arg0, class_2338 arg1)
m_kgawnnsn(C_peaveboq arg0, C_hynzadkk arg1)
getPlayersLookingInChestCount(BlockView world, BlockPos pos)
getPlayersLookingInChestCount(BlockView world, BlockPos pos)
m_59086_(C_1559_ p_59087_, C_4675_ p_59088_)
public static void
a(dpq arg0, dpq arg1)
swapContents(ChestBlockEntity arg0, ChestBlockEntity arg1)
method_11047(class_2595 arg0, class_2595 arg1)
m_djlnqcoo(C_idrrrnej arg0, C_idrrrnej arg1)
copyInventory(ChestBlockEntity from, ChestBlockEntity to)
copyInventory(ChestBlockEntity from, ChestBlockEntity to)
m_59103_(C_1997_ p_59104_, C_1997_ p_59105_)
protected AbstractContainerMenu
a(int arg0, cmy arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
m_6555_(int p_59083_, C_1140_ arg1)
public void
l()
recheckOpen()
method_31671()
m_udozewmp()
onScheduledTick()
onScheduledTick()
m_155350_()
protected void
a(dca arg0, iz arg1, dse arg2, int arg3, int arg4)
signalOpenCount(Level arg0, BlockPos arg1, BlockState arg2, int arg3, int arg4)
method_11049(class_1937 arg0, class_2338 arg1, class_2680 arg2, int arg3, int arg4)
m_ghjuhyxe(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, int arg3, int arg4)
onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
m_142151_(C_1596_ p_155334_, C_4675_ p_155335_, C_2064_ p_155336_, int p_155337_, int arg4)