net.minecraft.world.level.block.entity

public class DispenserBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer

dvq
net.minecraft.world.level.block.entity.DispenserBlockEntity
net.minecraft.class_2601
net.minecraft.unmapped.C_zgeifnbq
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.src.C_2004_
net.minecraft.world.level.block.entity.DecoratedPotPatterns

Field summary

Modifier and TypeField
public static final int
d
CONTAINER_SIZE
field_31340
f_yikizimu
INVENTORY_SIZE
SLOTS
f_155487_
private NonNullList<ItemStack>
e
items
field_11945
f_apuxkrmq
inventory
inventory
f_59228_

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> p_155490_, BlockPos pos, BlockState state)
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public int
a(bam arg0)
getRandomSlot(RandomSource arg0)
method_11076(class_5819 arg0)
m_xyqdgyrt(C_rlomrsco arg0)
chooseNonEmptySlot(Random random)
chooseNonEmptySlot(RandomGenerator random)
m_222761_(C_212974_ arg0)
public ItemStack
b(cxo arg0)
insertItem(ItemStack arg0)
method_11075(class_1799 arg0)
m_idqgppgo(C_sddaxwyk arg0)
addToFirstFreeSlot(ItemStack stack)
tryInsert(ItemStack stack)
m_338820_(C_1391_ arg0)
protected Component
j()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
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_335532_, C_213466_$C_254607_ arg1)
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_328492_, C_213466_$C_254607_ arg1)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
getInventory()
m_58617_()
protected void
a(jz<cxo> 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 AbstractContainerMenu
a(int arg0, cpv 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_59236_, C_1140_ arg1)