net.minecraft.world.level.block.entity

public class BarrelBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

ctb
net.minecraft.world.level.block.entity.BarrelBlockEntity
net.minecraft.class_3719
net.minecraft.unmapped.C_tryqonvd
net.minecraft.block.entity.BarrelBlockEntity
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
inventory
f_58591_
private ContainerOpenersCounter
c
openersCounter
field_27207
f_xnulrrsy
stateManager
stateManager
f_155050_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_qkfbvwxz()
getInvStackList()
getInvStackList()
m_7086_()
protected void
a(hi<cax> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_6520_(C_4702_<C_1391_> arg0)
protected Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
protected AbstractContainerMenu
a(int arg0, bub 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_58599_, C_1140_ arg1)
public void
d_(buc 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_(buc 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)
public void
i()
recheckOpen()
method_20362()
m_oigsyozw()
tick()
tick()
m_58619_()
void
a(cvo 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)
setOpen(BlockState state, boolean open)
m_58606_(C_2064_ p_58608_, boolean arg1)
void
a(cvo arg0, ajv 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)
playSound(BlockState state, SoundEvent soundEvent)
m_58600_(C_2064_ p_58602_, C_123_ arg1)