net.minecraft.block.entity

public class HopperBlockEntity

extends LootInventoryBlockEntity implements Hopper, Tickable

All mapped superinterfaces:

LockableMenuProvider, Inventory, Nameable, MenuProvider, Lootable, Hopper, Tickable

avw
net.minecraft.class_1463
net.minecraft.block.entity.HopperBlockEntity
net.minecraft.tileentity.TileEntityHopper
net.minecraft.tileentity.TileEntityHopper

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
a
field_15155
inventory
field_145900_a
inventory
private int
f
field_5662
transferCooldown
field_145901_j
transferCooldown
private long
g
field_15156
lastTickTime
field_190578_g
tickedGameTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(ry arg0)
method_13330(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
func_189683_a(DataFixer arg0)
registerFixesHopper(DataFixer fixer)
public void
a(fy arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
func_145839_a(NBTTagCompound arg0)
readFromNBT(NBTTagCompound arg0)
public NbtCompound
b(fy arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(NBTTagCompound arg0)
writeToNBT(NBTTagCompound arg0)
public int
w_()
method_2388()
getSize()
func_70302_i_()
getSizeInventory()
public ItemStack
a(int arg0, int arg1)
method_2382(int arg0, int arg1)
removeItem(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
decrStackSize(int arg0, int arg1)
public void
a(int arg0, aip arg1)
method_2383(int arg0, class_1071 arg1)
setItem(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
public String
h_()
method_2518()
getName()
func_70005_c_()
getName()
public int
z_()
method_2389()
getMaxStackSize()
func_70297_j_()
getInventoryStackLimit()
public void
e()
method_2053()
tick()
func_73660_a()
update()
private boolean
o()
method_4833()
transferItems()
func_145887_i()
updateHopper()
private boolean
p()
method_6524()
isInventoryEmpty()
func_152104_k()
isInventoryEmpty()
public boolean
x_()
method_13922()
isEmpty()
func_191420_l()
isEmpty()
private boolean
r()
method_6525()
isFull()
func_152105_l()
isFull()
private boolean
s()
method_4835()
pushItem()
func_145883_k()
transferItemsOut()
private boolean
a(tv arg0, fa arg1)
method_6522(class_849 arg0, class_1354 arg1)
isFullInventory(Inventory inventory, Direction side)
func_174919_a(IInventory arg0, EnumFacing arg1)
isInventoryFull(IInventory inventoryIn, EnumFacing side)
private static boolean
b(tv arg0, fa arg1)
method_6523(class_849 arg0, class_1354 arg1)
isEmptyInventory(Inventory inventory, Direction side)
func_174917_b(IInventory arg0, EnumFacing arg1)
isInventoryEmpty(IInventory inventoryIn, EnumFacing side)
public static boolean
a(avv arg0)
method_4821(class_1462 arg0)
pullItem(Hopper hopper)
func_145891_a(IHopper arg0)
pullItems(IHopper hopper)
private static boolean
a(avv arg0, tv arg1, int arg2, fa arg3)
method_4822(class_1462 arg0, class_849 arg1, int arg2, class_1354 arg3)
pullItems(Hopper hopper, Inventory inventory, int slot, Direction side)
func_174915_a(IHopper arg0, IInventory arg1, int arg2, EnumFacing arg3)
pullItemFromSlot(IHopper hopper, IInventory inventoryIn, int index, EnumFacing direction)
public static boolean
a(tv arg0, tv arg1, acl arg2)
method_13728(class_849 arg0, class_849 arg1, class_964 arg2)
pickUpItem(Inventory inventory, Inventory hopper, ItemEntity items)
func_145898_a(IInventory arg0, IInventory arg1, EntityItem arg2)
putDropInInventoryAllSlots(IInventory source, IInventory destination, EntityItem entity)
public static ItemStack
a(tv arg0, tv arg1, aip arg2, fa arg3)
method_13727(class_849 arg0, class_849 arg1, class_1071 arg2, class_1354 arg3)
pushItem(Inventory inventory, Inventory hopper, ItemStack item, Direction side)
func_174918_a(IInventory arg0, IInventory arg1, ItemStack arg2, EnumFacing arg3)
putStackInInventoryAllSlots(IInventory source, IInventory destination, ItemStack stack, EnumFacing direction)
private static boolean
a(tv arg0, aip arg1, int arg2, fa arg3)
method_4826(class_849 arg0, class_1071 arg1, int arg2, class_1354 arg3)
canPushItem(Inventory inventory, ItemStack item, int slot, Direction side)
func_174920_a(IInventory arg0, ItemStack arg1, int arg2, EnumFacing arg3)
canInsertItemInSlot(IInventory inventoryIn, ItemStack stack, int index, EnumFacing side)
private static boolean
b(tv arg0, aip arg1, int arg2, fa arg3)
method_4830(class_849 arg0, class_1071 arg1, int arg2, class_1354 arg3)
canPullItem(Inventory inventory, ItemStack item, int slot, Direction side)
func_174921_b(IInventory arg0, ItemStack arg1, int arg2, EnumFacing arg3)
canExtractItemFromSlot(IInventory inventoryIn, ItemStack stack, int index, EnumFacing side)
private static ItemStack
a(tv arg0, tv arg1, aip arg2, int arg3, fa arg4)
method_13726(class_849 arg0, class_849 arg1, class_1071 arg2, int arg3, class_1354 arg4)
pushItem(Inventory hopper, Inventory inventory, ItemStack item, int slot, Direction side)
func_174916_c(IInventory arg0, IInventory arg1, ItemStack arg2, int arg3, EnumFacing arg4)
insertStack(IInventory source, IInventory destination, ItemStack stack, int index, EnumFacing direction)
private Inventory
I()
method_4836()
getTargetInventory()
func_145895_l()
getInventoryForHopperTransfer()
public static Inventory
b(avv arg0)
method_4829(class_1462 arg0)
getInventoryAbove(Hopper hopper)
func_145884_b(IHopper arg0)
getSourceInventory(IHopper hopper)
public static List<ItemEntity>
a(amu arg0, double arg1, double arg2, double arg3)
method_8991(class_1150 arg0, double arg1, double arg2, double arg3)
getItem(World world, double x, double y, double z)
func_184292_a(World arg0, double arg1, double arg2, double arg3)
getCaptureItems(World worldIn, double arg1, double arg2, double arg3)
public static Inventory
b(amu arg0, double arg1, double arg2, double arg3)
method_4828(class_1150 arg0, double arg1, double arg2, double arg3)
getInventoryAt(World world, double x, double y, double z)
func_145893_b(World arg0, double arg1, double arg2, double arg3)
getInventoryAtPosition(World worldIn, double x, double y, double z)
private static boolean
a(aip arg0, aip arg1)
method_4827(class_1071 arg0, class_1071 arg1)
canMergeItems(ItemStack item1, ItemStack item2)
func_145894_a(ItemStack arg0, ItemStack arg1)
canCombine(ItemStack stack1, ItemStack stack2)
public double
E()
method_4817()
getX()
func_96107_aA()
getXPos()
public double
F()
method_4818()
getY()
func_96109_aB()
getYPos()
public double
G()
method_4819()
getZ()
func_96108_aC()
getZPos()
private void
d(int arg0)
method_4831(int arg0)
setCooldown(int cooldown)
func_145896_c(int arg0)
setTransferCooldown(int ticks)
private boolean
J()
method_4834()
isOnCooldown()
func_145888_j()
isOnTransferCooldown()
private boolean
K()
method_8992()
isOnCustomCooldown()
func_174914_o()
mayTransfer()
public String
l()
method_10906()
getMenuType()
func_174875_k()
getGuiID()
public InventoryMenu
a(aec arg0, aed 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()