net.minecraft.world.level.block.entity

public class DispenserBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cjb
net.minecraft.world.level.block.entity.DispenserBlockEntity
net.minecraft.class_2601
net.minecraft.unmapped.C_zgeifnbq
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.src.C_2004_
net.minecraft.world.level.block.entity.TileEntityDispenser

Field summary

Modifier and TypeField
private static final Random
c
RANDOM
field_11944
f_ntukbqhb
RANDOM
f_59227_
public static final int
b
CONTAINER_SIZE
field_31340
f_yikizimu
field_31340
f_155487_
private NonNullList<ItemStack>
f
items
field_11945
f_apuxkrmq
inventory
f_59228_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
m_6643_()
getSize()
public int
h()
getRandomSlot()
method_11076()
m_xyqdgyrt()
chooseNonEmptySlot()
m_59248_()
public int
a(bqp arg0)
addItem(ItemStack arg0)
method_11075(class_1799 arg0)
m_nxdwfczl(C_sddaxwyk arg0)
addToFirstFreeSlot(ItemStack stack)
m_59237_(C_1391_ arg0)
addItem(ItemStack arg0)
protected Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
m_6820_()
getContainerName()
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 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)
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 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_59236_, C_1140_ arg1)
createContainer(int arg0, PlayerInventory arg1)