net.minecraft.world.level.block.entity

public class DispenserBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

buf
net.minecraft.world.level.block.entity.DispenserBlockEntity
net.minecraft.class_2601
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.tileentity.DispenserTileEntity
net.minecraft.server.v1_14_R1.TileEntityDispenser

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
M_()
getContainerSize()
method_5439()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isInvEmpty()
func_191420_l()
isNotEmpty()
public int
h()
getRandomSlot()
method_11076()
chooseNonEmptySlot()
func_146017_i()
public int
a(bcj arg0)
addItem(ItemStack arg0)
method_11075(class_1799 arg0)
addToFirstFreeSlot(ItemStack stack)
func_146019_a(ItemStack arg0)
addItem(ItemStack arg0)
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
public void
a(id arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(id arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected void
a(fk<bcj> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
protected AbstractContainerMenu
a(int arg0, awf arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createContainer(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)