net.minecraft.world.level.block.entity

public class BarrelBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cii
net.minecraft.world.level.block.entity.BarrelBlockEntity
net.minecraft.class_3719
net.minecraft.unmapped.C_tryqonvd
net.minecraft.block.entity.BarrelBlockEntity
net.minecraft.src.C_1979_
net.minecraft.world.level.block.entity.TileEntityBarrel

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
b
items
field_16410
f_faubfaip
inventory
f_58591_
private ContainerOpenersCounter
c
openersCounter
field_27207
f_xnulrrsy
stateManager
f_155050_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
m_6643_()
getSize()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_qkfbvwxz()
getInvStackList()
m_7086_()
protected void
a(gs<bqp> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_6520_(C_4702_<C_1391_> arg0)
protected Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
m_6820_()
getContainerName()
protected AbstractContainerMenu
a(int arg0, bkc 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)
m_6555_(int p_58599_, C_1140_ arg1)
createContainer(int arg0, PlayerInventory arg1)
public void
b_(bkd arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
m_uhfxptkc(C_jzrpycqo arg0)
onOpen(PlayerEntity arg0)
m_5856_(C_1141_ arg0)
startOpen(EntityHuman arg0)
public void
c_(bkd arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)
closeContainer(EntityHuman arg0)
public void
h()
recheckOpen()
method_20362()
m_oigsyozw()
tick()
m_58619_()
void
a(cks arg0, boolean arg1)
updateBlockState(BlockState arg0, boolean arg1)
method_18318(class_2680 arg0, boolean arg1)
m_wudsfzsf(C_txtbiemp arg0, boolean arg1)
setOpen(BlockState state, boolean open)
m_58606_(C_2064_ p_58608_, boolean arg1)
setOpenFlag(IBlockData arg0, boolean arg1)
void
a(cks arg0, afd arg1)
playSound(BlockState arg0, SoundEvent arg1)
method_17764(class_2680 arg0, class_3414 arg1)
m_xhobcfyd(C_txtbiemp arg0, C_avavozay arg1)
playSound(BlockState state, SoundEvent soundEvent)
m_58600_(C_2064_ p_58602_, C_123_ arg1)
playOpenSound(IBlockData arg0, SoundEffect arg1)