net.minecraft.world.level.block.entity

public class ChestBlockEntity

extends RandomizableContainerBlockEntity implements LidBlockEntity, TickableBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, LidBlockEntity, TickableBlockEntity

cdp
net.minecraft.world.level.block.entity.ChestBlockEntity
net.minecraft.class_2595
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.tileentity.ChestTileEntity
net.minecraft.server.v1_16_R1.TileEntityChest

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
i
items
field_11927
inventory
field_145985_p
items
protected float
a
openness
field_11929
animationAngle
field_145989_m
protected float
b
oOpenness
field_11926
lastAnimationAngle
field_145986_n
protected int
c
openCount
field_11928
viewerCount
field_145987_o
viewingCount
private int
j
tickInterval
field_11930
ticksOpen
field_145983_q

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
ab_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
public void
a(cfj arg0, le arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(le arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
al_()
tick()
method_16896()
tick()
func_73660_a()
tick()
public static int
a(bqb arg0, cdf 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)
func_213977_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
public static int
a(bqb arg0, cdf 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)
func_213976_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4)
private void
a(ack arg0)
playSound(SoundEvent arg0)
method_11050(class_3414 arg0)
playSound(SoundEvent arg0)
func_195483_a(SoundEvent arg0)
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
setProperty(int arg0, int arg1)
public void
c_(bec arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
startOpen(EntityHuman arg0)
public void
b_(bec arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeContainer(EntityHuman arg0)
protected void
h()
signalOpenCount()
method_11049()
onInvOpenOrClose()
func_195482_p()
onOpen()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected void
a(gi<bki> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
public static int
a(bpg arg0, fu arg1)
getOpenCount(BlockGetter arg0, BlockPos arg1)
method_11048(class_1922 arg0, class_2338 arg1)
getPlayersLookingInChestCount(BlockView world, BlockPos pos)
func_195481_a(IBlockReader arg0, BlockPos arg1)
public static void
a(cdp arg0, cdp arg1)
swapContents(ChestBlockEntity arg0, ChestBlockEntity arg1)
method_11047(class_2595 arg0, class_2595 arg1)
copyInventory(ChestBlockEntity from, ChestBlockEntity to)
func_199722_a(ChestTileEntity arg0, ChestTileEntity arg1)
protected AbstractContainerMenu
a(int arg0, beb arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)
public float
a(float arg0)
getOpenNess(float arg0)
method_11274(float arg0)
getAnimationProgress(float arg0)
func_195480_a(float arg0)