net.minecraft.block.entity

public class DispenserBlockEntity

extends LootInventoryBlockEntity

All mapped superinterfaces:

LockableMenuProvider, Inventory, Nameable, MenuProvider, Lootable

bjq
net.minecraft.class_218
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.tileentity.TileEntityDispenser
net.minecraft.tileentity.TileEntityDispenser

Field summary

Modifier and TypeField
private static final Random
a
field_9852
RANDOM
field_174913_f
RNG
private DefaultedList<ItemStack>
e
field_15153
inventory
field_146022_i
stacks

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
T_()
method_2388()
getSize()
func_70302_i_()
getSizeInventory()
public boolean
P_()
method_13922()
isEmpty()
func_191420_l()
isEmpty()
public int
p()
method_515()
pickNonEmptySlot()
func_146017_i()
getDispenseSlot()
public int
a(ate arg0)
method_514(class_1071 arg0)
insertItem(ItemStack item)
func_146019_a(ItemStack arg0)
addItemStack(ItemStack stack)
public Text
N_()
method_15540()
getName()
func_200200_C_()
getName()
public void
b(gy arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
func_145839_a(NBTTagCompound arg0)
read(NBTTagCompound arg0)
public NbtCompound
a(gy arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(NBTTagCompound arg0)
write(NBTTagCompound arg0)
public int
f()
method_2389()
getMaxStackSize()
func_70297_j_()
getInventoryStackLimit()
public String
l()
method_10906()
getMenuType()
func_174875_k()
getGuiID()
public InventoryMenu
a(aof arg0, aog arg1)
method_10905(class_987 arg0, class_988 arg1)
createMenu(PlayerInventory arg0, PlayerEntity arg1)
func_174876_a(InventoryPlayer arg0, EntityPlayer arg1)
createContainer(InventoryPlayer arg0, EntityPlayer arg1)
protected DefaultedList<ItemStack>
q()
method_13730()
getInventory()
func_190576_q()
getItems()
protected void
a(ez<ate> arg0)
method_16834(class_3114<class_1071> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)