net.minecraft.world.level.block.entity

public class BarrelBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer

duq
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>
d
items
field_16410
f_faubfaip
inventory
inventory
f_58591_
private final ContainerOpenersCounter
e
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(ux arg0, js$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_330809_, C_213466_$C_254607_ arg1)
protected void
a(ux arg0, js$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)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_334663_, C_213466_$C_254607_ arg1)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
getInventory()
m_58617_()
protected void
a(jz<cxp> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
setInventory(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
protected Component
j()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
protected AbstractContainerMenu
a(int arg0, cpw 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
c_(cpx 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(cpx 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
k()
recheckOpen()
method_20362()
m_oigsyozw()
tick()
tick()
m_58619_()
void
a(dxv 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(dxv arg0, axe 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)