net.minecraft.block.entity

public class HopperBlockEntity

extends LootInventoryBlockEntity implements Hopper, Tickable

All mapped superinterfaces:

Inventory, Clearable, NamedMenuProvider, MenuProvider, Nameable, Hopper, Tickable

buc
net.minecraft.class_2614
net.minecraft.block.entity.HopperBlockEntity
net.minecraft.tileentity.HopperTileEntity
net.minecraft.tileentity.HopperTileEntity

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
i
field_12024
inventory
field_145900_a
field_145900_a
private int
j
field_12023
transferCooldown
field_145901_j
field_145901_j
private long
k
field_12022
lastTickTime
field_190578_g
field_190578_g

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(ib arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT arg0)
public NbtCompound
b(ib arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT arg0)
public int
N_()
method_5439()
getSize()
func_70302_i_()
getSizeInventory()
public ItemStack
a(int arg0, int arg1)
method_5434(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, bcb arg1)
method_5447(int arg0, class_1799 arg1)
setItem(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
protected Text
g()
method_17823()
m_68140721()
func_213907_g()
func_213907_g()
public void
U_()
method_16896()
tick()
func_73660_a()
tick()
private boolean
a(Supplier<Boolean> arg0)
method_11243(Supplier<Boolean> arg0)
transferItems(Supplier<Boolean> pullItems)
func_200109_a(Supplier<Boolean> arg0)
updateHopper(Supplier<Boolean> arg0)
private boolean
s()
method_11259()
isInventoryEmpty()
func_152104_k()
isInventoryEmpty()
public boolean
c()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
private boolean
t()
method_11256()
isFull()
func_152105_l()
isFull()
private boolean
u()
method_11246()
pushItem()
func_145883_k()
transferItemsOut()
private static IntStream
a(agw arg0, fa arg1)
method_17767(class_1263 arg0, class_2350 arg1)
m_72213236(Inventory arg0, Direction arg1)
func_213972_a(IInventory arg0, Direction arg1)
func_213972_a(IInventory arg0, Direction arg1)
private boolean
b(agw arg0, fa arg1)
method_11258(class_1263 arg0, class_2350 arg1)
isFullInventory(Inventory inventory, Direction side)
func_174919_a(IInventory arg0, Direction arg1)
isInventoryFull(IInventory inventoryIn, Direction side)
private static boolean
c(agw arg0, fa arg1)
method_11257(class_1263 arg0, class_2350 arg1)
isEmptyInventory(Inventory inventory, Direction side)
func_174917_b(IInventory arg0, Direction arg1)
isInventoryEmpty(IInventory inventoryIn, Direction side)
public static boolean
a(bub arg0)
method_11241(class_2615 arg0)
pullItem(Hopper hopper)
func_145891_a(IHopper arg0)
pullItems(IHopper hopper)
private static boolean
a(bub arg0, agw arg1, int arg2, fa arg3)
method_11261(class_2615 arg0, class_1263 arg1, int arg2, class_2350 arg3)
pullItems(Hopper hopper, Inventory inventory, int slot, Direction side)
func_174915_a(IHopper arg0, IInventory arg1, int arg2, Direction arg3)
pullItemFromSlot(IHopper hopper, IInventory inventoryIn, int index, Direction direction)
public static boolean
a(agw arg0, atp arg1)
method_11247(class_1263 arg0, class_1542 arg1)
pickUpItem(Inventory inventory, ItemEntity items)
func_200114_a(IInventory arg0, ItemEntity arg1)
captureItem(IInventory arg0, ItemEntity arg1)
public static ItemStack
a(agw arg0, agw arg1, bcb arg2, fa arg3)
method_11260(class_1263 arg0, class_1263 arg1, class_1799 arg2, class_2350 arg3)
pushItem(Inventory inventory, Inventory hopper, ItemStack item, Direction side)
func_174918_a(IInventory arg0, IInventory arg1, ItemStack arg2, Direction arg3)
putStackInInventoryAllSlots(IInventory source, IInventory destination, ItemStack stack, Direction direction)
private static boolean
a(agw arg0, bcb arg1, int arg2, fa arg3)
method_11244(class_1263 arg0, class_1799 arg1, int arg2, class_2350 arg3)
canPushItem(Inventory inventory, ItemStack item, int slot, Direction side)
func_174920_a(IInventory arg0, ItemStack arg1, int arg2, Direction arg3)
canInsertItemInSlot(IInventory inventoryIn, ItemStack stack, int index, Direction side)
private static boolean
b(agw arg0, bcb arg1, int arg2, fa arg3)
method_11252(class_1263 arg0, class_1799 arg1, int arg2, class_2350 arg3)
canPullItem(Inventory inventory, ItemStack item, int slot, Direction side)
func_174921_b(IInventory arg0, ItemStack arg1, int arg2, Direction arg3)
canExtractItemFromSlot(IInventory inventoryIn, ItemStack stack, int index, Direction side)
private static ItemStack
a(agw arg0, agw arg1, bcb arg2, int arg3, fa arg4)
method_11253(class_1263 arg0, class_1263 arg1, class_1799 arg2, int arg3, class_2350 arg4)
pushItem(Inventory hopper, Inventory inventory, ItemStack item, int slot, Direction side)
func_174916_c(IInventory arg0, IInventory arg1, ItemStack arg2, int arg3, Direction arg4)
insertStack(IInventory source, IInventory destination, ItemStack stack, int index, Direction direction)
private Inventory
v()
method_11255()
getTargetInventory()
func_145895_l()
getInventoryForHopperTransfer()
public static Inventory
b(bub arg0)
method_11248(class_2615 arg0)
getInventoryAbove(Hopper hopper)
func_145884_b(IHopper arg0)
getSourceInventory(IHopper hopper)
public static List<ItemEntity>
c(bub arg0)
method_11237(class_2615 arg0)
getItem(Hopper hopper)
func_200115_c(IHopper arg0)
getCaptureItems(IHopper arg0)
public static Inventory
a(bhi arg0, ev arg1)
method_11250(class_1937 arg0, class_2338 arg1)
getInventory(World world, BlockPos pos)
func_195484_a(World arg0, BlockPos arg1)
getInventoryAtPosition(World arg0, BlockPos arg1)
public static Inventory
a(bhi arg0, double arg1, double arg2, double arg3)
method_11251(class_1937 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(bcb arg0, bcb arg1)
method_11254(class_1799 arg0, class_1799 arg1)
canMergeItems(ItemStack item1, ItemStack item2)
func_145894_a(ItemStack arg0, ItemStack arg1)
canCombine(ItemStack stack1, ItemStack stack2)
public double
z()
method_11266()
getX()
func_96107_aA()
getXPos()
public double
A()
method_11264()
getY()
func_96109_aB()
getYPos()
public double
B()
method_11265()
getZ()
func_96108_aC()
getZPos()
private void
c(int arg0)
method_11238(int arg0)
setCooldown(int cooldown)
func_145896_c(int arg0)
setTransferCooldown(int ticks)
private boolean
x()
method_11239()
isOnCooldown()
func_145888_j()
isOnTransferCooldown()
private boolean
y()
method_11242()
isOnCustomCooldown()
func_174914_o()
mayTransfer()
protected DefaultedList<ItemStack>
f()
method_11282()
getInventory()
func_190576_q()
getItems()
protected void
a(fj<bcb> arg0)
method_11281(class_2371<class_1799> arg0)
setInventory(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public void
a(aii arg0)
method_11236(class_1297 arg0)
onEntityCollision(Entity entity)
func_200113_a(Entity arg0)
onEntityCollision(Entity arg0)
protected InventoryMenu
a(int arg0, avx arg1)
method_5465(int arg0, class_1661 arg1)
m_98062691(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)