net.minecraft.world.level.block.entity

public class ChestBlockEntity

extends RandomizableContainerBlockEntity implements LidBlockEntity, TickableBlockEntity

All mapped superinterfaces:

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

ccn
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_R3.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
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
public void
a(ceh arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, NbtCompound arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
aj_()
tick()
method_16896()
tick()
func_73660_a()
tick()
public static int
a(brx arg0, ccd 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 inventory, 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(brx arg0, ccd 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 inventory, int x, int y, int z)
func_213976_a(World arg0, LockableTileEntity arg1, int arg2, int arg3, int arg4)
private void
a(adp arg0)
playSound(SoundEvent arg0)
method_11050(class_3414 arg0)
playSound(SoundEvent arg0)
func_195483_a(SoundEvent arg0)
playOpenSound(SoundEffect 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_(bfw arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
startOpen(EntityHuman arg0)
public void
b_(bfw 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(gj<bmb> 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(brc arg0, fx 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(ccn arg0, ccn 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, bfv 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)