net.minecraft.world.level.block.entity

public class DispenserBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

ccp
net.minecraft.world.level.block.entity.DispenserBlockEntity
net.minecraft.class_2601
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.tileentity.DispenserTileEntity
net.minecraft.server.v1_16_R2.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
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
public int
h()
getRandomSlot()
method_11076()
chooseNonEmptySlot()
func_146017_i()
public int
a(bly 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(cee arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md 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(gj<bly> 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, bfs arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)