net.minecraft.block.entity

public class HopperBlockEntity

extends LootInventoryBlockEntity implements Hopper, Tickable

All mapped superinterfaces:

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

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(ph arg0)
method_13330(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesHopper(DataFixer fixer)
public void
a(du arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
readFromNBT(NBTTagCompound arg0)
public NbtCompound
b(du arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
writeToNBT(NBTTagCompound arg0)
public int
v_()
method_2388()
getSize()
getSizeInventory()
public ItemStack
a(int arg0, int arg1)
method_2382(int arg0, int arg1)
removeItem(int arg0, int arg1)
decrStackSize(int arg0, int arg1)
public void
a(int arg0, afj arg1)
method_2383(int arg0, class_1071 arg1)
setItem(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
public String
h_()
method_2518()
getName()
getName()
public int
y_()
method_2389()
getMaxStackSize()
getInventoryStackLimit()
public void
F_()
method_2053()
tick()
update()
private boolean
o()
method_4833()
transferItems()
updateHopper()
private boolean
p()
method_6524()
isInventoryEmpty()
isInventoryEmpty()
public boolean
w_()
method_13922()
isEmpty()
isEmpty()
private boolean
r()
method_6525()
isFull()
isFull()
private boolean
s()
method_4835()
pushItem()
transferItemsOut()
private boolean
a(rc arg0, cv arg1)
method_6522(class_849 arg0, class_1354 arg1)
isFullInventory(Inventory inventory, Direction side)
isInventoryFull(IInventory inventoryIn, EnumFacing side)
private static boolean
b(rc arg0, cv arg1)
method_6523(class_849 arg0, class_1354 arg1)
isEmptyInventory(Inventory inventory, Direction side)
isInventoryEmpty(IInventory inventoryIn, EnumFacing side)
public static boolean
a(aso arg0)
method_4821(class_1462 arg0)
pullItem(Hopper hopper)
captureDroppedItems(IHopper hopper)
private static boolean
a(aso arg0, rc arg1, int arg2, cv arg3)
method_4822(class_1462 arg0, class_849 arg1, int arg2, class_1354 arg3)
pullItems(Hopper hopper, Inventory inventory, int slot, Direction side)
pullItemFromSlot(IHopper hopper, IInventory inventoryIn, int index, EnumFacing direction)
public static boolean
a(rc arg0, rc arg1, zj arg2)
method_13728(class_849 arg0, class_849 arg1, class_964 arg2)
pickUpItem(Inventory inventory, Inventory hopper, ItemEntity items)
putDropInInventoryAllSlots(IInventory source, IInventory destination, EntityItem entity)
public static ItemStack
a(rc arg0, rc arg1, afj arg2, cv arg3)
method_13727(class_849 arg0, class_849 arg1, class_1071 arg2, class_1354 arg3)
pushItem(Inventory inventory, Inventory hopper, ItemStack item, Direction side)
putStackInInventoryAllSlots(IInventory source, IInventory destination, ItemStack stack, EnumFacing direction)
private static boolean
a(rc arg0, afj arg1, int arg2, cv arg3)
method_4826(class_849 arg0, class_1071 arg1, int arg2, class_1354 arg3)
canPushItem(Inventory inventory, ItemStack item, int slot, Direction side)
canInsertItemInSlot(IInventory inventoryIn, ItemStack stack, int index, EnumFacing side)
private static boolean
b(rc arg0, afj arg1, int arg2, cv arg3)
method_4830(class_849 arg0, class_1071 arg1, int arg2, class_1354 arg3)
canPullItem(Inventory inventory, ItemStack item, int slot, Direction side)
canExtractItemFromSlot(IInventory inventoryIn, ItemStack stack, int index, EnumFacing side)
private static ItemStack
a(rc arg0, rc arg1, afj arg2, int arg3, cv 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)
insertStack(IInventory source, IInventory destination, ItemStack stack, int index, EnumFacing direction)
private Inventory
I()
method_4836()
getTargetInventory()
getInventoryForHopperTransfer()
public static Inventory
b(aso arg0)
method_4829(class_1462 arg0)
getInventoryAbove(Hopper hopper)
getSourceInventory(IHopper hopper)
public static List<ItemEntity>
a(ajs 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)
getCaptureItems(World worldIn, double arg1, double arg2, double arg3)
public static Inventory
b(ajs 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)
getInventoryAtPosition(World worldIn, double x, double y, double z)
private static boolean
a(afj arg0, afj arg1)
method_4827(class_1071 arg0, class_1071 arg1)
canMergeItems(ItemStack item1, ItemStack item2)
canCombine(ItemStack stack1, ItemStack stack2)
public double
E()
method_4817()
getX()
getXPos()
public double
F()
method_4818()
getY()
getYPos()
public double
G()
method_4819()
getZ()
getZPos()
private void
d(int arg0)
method_4831(int arg0)
setCooldown(int cooldown)
setTransferCooldown(int ticks)
private boolean
J()
method_4834()
isOnCooldown()
isOnTransferCooldown()
private boolean
K()
method_8992()
isOnCustomCooldown()
mayTransfer()
public String
l()
method_10906()
getMenuType()
getGuiID()
public InventoryMenu
a(aax arg0, aay arg1)
method_10905(class_987 arg0, class_988 arg1)
createMenu(PlayerInventory arg0, PlayerEntity arg1)
createContainer(InventoryPlayer arg0, EntityPlayer arg1)
protected DefaultedList<ItemStack>
q()
method_13730()
getInventory()
getItems()