net.minecraft.block.entity

public class HopperBlockEntity

extends LootInventoryBlockEntity implements Hopper, Tickable

All mapped superinterfaces:

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

bjw
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>
e
field_15155
inventory
field_145900_a
inventory
private int
f
field_5662
transferCooldown
field_145901_j
transferCooldown
private long
j
field_15156
lastTickTime
field_190578_g
tickedGameTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
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
T_()
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, ate 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 Text
N_()
method_15540()
getName()
func_200200_C_()
getName()
public int
f()
method_2389()
getMaxStackSize()
func_70297_j_()
getInventoryStackLimit()
public void
Y_()
method_2053()
tick()
func_73660_a()
tick()
private boolean
a(Supplier<Boolean> arg0)
method_16825(Supplier<Boolean> arg0)
transferItems(Supplier<Boolean> pullItems)
func_200109_a(Supplier<Boolean> arg0)
updateHopper(Supplier<Boolean> arg0)
private boolean
p()
method_6524()
isInventoryEmpty()
func_152104_k()
isInventoryEmpty()
public boolean
P_()
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(ade arg0, eq 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(ade arg0, eq 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(bjv arg0)
method_4821(class_1462 arg0)
pullItem(Hopper hopper)
func_145891_a(IHopper arg0)
pullItems(IHopper hopper)
private static boolean
a(bjv arg0, ade arg1, int arg2, eq 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(ade arg0, amm arg1)
method_13728(class_849 arg0, class_964 arg1)
pickUpItem(Inventory inventory, ItemEntity items)
func_200114_a(IInventory arg0, EntityItem arg1)
captureItem(IInventory arg0, EntityItem arg1)
public static ItemStack
a(ade arg0, ade arg1, ate arg2, eq 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(ade arg0, ate arg1, int arg2, eq 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(ade arg0, ate arg1, int arg2, eq 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(ade arg0, ade arg1, ate arg2, int arg3, eq 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
D()
method_4836()
getTargetInventory()
func_145895_l()
getInventoryForHopperTransfer()
public static Inventory
b(bjv arg0)
method_4829(class_1462 arg0)
getInventoryAbove(Hopper hopper)
func_145884_b(IHopper arg0)
getSourceInventory(IHopper hopper)
public static List<ItemEntity>
c(bjv arg0)
method_16827(class_1462 arg0)
getItem(Hopper hopper)
func_200115_c(IHopper arg0)
getCaptureItems(IHopper arg0)
public static Inventory
a(axy arg0, el arg1)
method_16823(class_1150 arg0, class_2552 arg1)
getInventory(World world, BlockPos pos)
func_195484_a(World arg0, BlockPos arg1)
getInventoryAtPosition(World arg0, BlockPos arg1)
public static Inventory
a(axy 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(ate arg0, ate 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
G()
method_4817()
getX()
func_96107_aA()
getXPos()
public double
H()
method_4818()
getY()
func_96109_aB()
getYPos()
public double
I()
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
E()
method_4834()
isOnCooldown()
func_145888_j()
isOnTransferCooldown()
private boolean
J()
method_8992()
isOnCustomCooldown()
func_174914_o()
mayTransfer()
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)
public void
a(aer arg0)
method_16822(class_864 arg0)
onEntityCollision(Entity entity)
func_200113_a(Entity arg0)
onEntityCollision(Entity arg0)