net.minecraft.world.level.block.entity

public class DispenserBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

bwu
net.minecraft.world.level.block.entity.DispenserBlockEntity
net.minecraft.class_2601
net.minecraft.unmapped.C_zgeifnbq
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.tileentity.DispenserTileEntity
net.minecraft.server.v1_15_R1.TileEntityDispenser

Field summary

Modifier and TypeField
private static final Random
a
RANDOM
field_11944
f_ntukbqhb
RANDOM
field_174913_f
private NonNullList<ItemStack>
b
items
field_11945
f_apuxkrmq
inventory
field_146022_i
items

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> arg0)
public ()

Method summary

Modifier and TypeMethod
public int
O_()
getContainerSize()
method_5439()
m_dmbfvefd()
getInvSize()
func_70302_i_()
getSize()
public int
h()
getRandomSlot()
method_11076()
m_xyqdgyrt()
chooseNonEmptySlot()
func_146017_i()
public int
a(ben arg0)
addItem(ItemStack arg0)
method_11075(class_1799 arg0)
m_nxdwfczl(C_sddaxwyk arg0)
addToFirstFreeSlot(ItemStack stack)
func_146019_a(ItemStack arg0)
addItem(ItemStack arg0)
protected Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
func_213907_g()
getContainerName()
public void
a(jt arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(jt arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_qkfbvwxz()
getInvStackList()
func_190576_q()
protected void
a(fy<ben> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
protected AbstractContainerMenu
a(int arg0, ayi arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
createContainer(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)