net.minecraft.block.entity

public class HopperBlockEntity

extends LootableContainerBlockEntity implements Hopper, Tickable

All mapped superinterfaces:

Inventory, Clearable, NamedScreenHandlerFactory, ScreenHandlerFactory, Nameable, Hopper, Tickable

cea
net.minecraft.world.level.block.entity.HopperBlockEntity
net.minecraft.class_2614
net.minecraft.block.entity.HopperBlockEntity
net.minecraft.unmapped.C_nblomyyt
net.minecraft.tileentity.HopperTileEntity
net.minecraft.tileentity.HopperTileEntity

Field summary

Modifier and TypeField
private DefaultedList<ItemStack>
i
items
field_12024
inventory
f_ktuvlsrj
field_145900_a
inventory
private int
j
cooldownTime
field_12023
transferCooldown
f_azmfqpby
field_145901_j
transferCooldown
private long
k
tickedGameTime
field_12022
lastTickTime
f_xxttfkhd
field_190578_g
tickedGameTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(cfj arg0, le arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
m_dfzdncts(C_txtbiemp arg0, C_hhlwcnih arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
read(BlockState arg0, CompoundNBT arg1)
public CompoundTag
a(le arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
m_fzlqwslp(C_hhlwcnih arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT arg0)
public int
ab_()
getContainerSize()
method_5439()
size()
m_dmbfvefd()
func_70302_i_()
getSizeInventory()
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_jqhmcoxx(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
decrStackSize(int arg0, int arg1)
public void
a(int arg0, bki arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
func_70299_a(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
protected Text
g()
getDefaultName()
method_17823()
getContainerName()
m_egjsjpyi()
func_213907_g()
getDefaultName()
public void
al_()
tick()
method_16896()
tick()
m_wqkjfdad()
func_73660_a()
tick()
private boolean
a(Supplier<Boolean> arg0)
tryMoveItems(Supplier<Boolean> arg0)
method_11243(Supplier<Boolean> arg0)
insertAndExtract(Supplier<Boolean> extractMethod)
m_jgmuxsor(Supplier<Boolean> arg0)
func_200109_a(Supplier<Boolean> arg0)
updateHopper(Supplier<Boolean> arg0)
private boolean
j()
inventoryFull()
method_11256()
isFull()
m_vzdmljjn()
func_152105_l()
isFull()
private boolean
k()
ejectItems()
method_11246()
insert()
m_rnqdnnfm()
func_145883_k()
transferItemsOut()
private static IntStream
a(amz arg0, fz arg1)
getSlots(Container arg0, Direction arg1)
method_17767(class_1263 arg0, class_2350 arg1)
getAvailableSlots(Inventory inventory, Direction side)
m_fqxkpglv(C_pjtstjoq arg0, C_xpuuihxf arg1)
func_213972_a(IInventory arg0, Direction arg1)
func_213972_a(IInventory arg0, Direction arg1)
private boolean
b(amz arg0, fz arg1)
isFullContainer(Container arg0, Direction arg1)
method_11258(class_1263 arg0, class_2350 arg1)
isInventoryFull(Inventory inv, Direction arg1)
m_zwwjuamk(C_pjtstjoq arg0, C_xpuuihxf arg1)
func_174919_a(IInventory arg0, Direction arg1)
isInventoryFull(IInventory inventoryIn, Direction side)
private static boolean
c(amz arg0, fz arg1)
isEmptyContainer(Container arg0, Direction arg1)
method_11257(class_1263 arg0, class_2350 arg1)
isInventoryEmpty(Inventory inv, Direction facing)
m_joxndidc(C_pjtstjoq arg0, C_xpuuihxf arg1)
func_174917_b(IInventory arg0, Direction arg1)
isInventoryEmpty(IInventory inventoryIn, Direction side)
public static boolean
a(cdz arg0)
suckInItems(Hopper arg0)
method_11241(class_2615 arg0)
extract(Hopper hopper)
m_kpvuhija(C_exiahbos arg0)
func_145891_a(IHopper arg0)
pullItems(IHopper hopper)
private static boolean
a(cdz arg0, amz arg1, int arg2, fz arg3)
tryTakeInItemFromSlot(Hopper arg0, Container arg1, int arg2, Direction arg3)
method_11261(class_2615 arg0, class_1263 arg1, int arg2, class_2350 arg3)
extract(Hopper hopper, Inventory inventory, int slot, Direction side)
m_daivdovh(C_exiahbos arg0, C_pjtstjoq arg1, int arg2, C_xpuuihxf arg3)
func_174915_a(IHopper arg0, IInventory arg1, int arg2, Direction arg3)
pullItemFromSlot(IHopper hopper, IInventory inventoryIn, int index, Direction direction)
public static boolean
a(amz arg0, bbg arg1)
addItem(Container arg0, ItemEntity arg1)
method_11247(class_1263 arg0, class_1542 arg1)
extract(Inventory inventory, ItemEntity itemEntity)
m_jyzhdben(C_pjtstjoq arg0, C_uqpzijng arg1)
func_200114_a(IInventory arg0, ItemEntity arg1)
captureItem(IInventory arg0, ItemEntity arg1)
public static ItemStack
a(amz arg0, amz arg1, bki arg2, fz arg3)
addItem(Container arg0, Container arg1, ItemStack arg2, Direction arg3)
method_11260(class_1263 arg0, class_1263 arg1, class_1799 arg2, class_2350 arg3)
transfer(Inventory from, Inventory to, ItemStack stack, Direction side)
m_smhbtkii(C_pjtstjoq arg0, C_pjtstjoq arg1, C_sddaxwyk arg2, C_xpuuihxf arg3)
func_174918_a(IInventory arg0, IInventory arg1, ItemStack arg2, Direction arg3)
putStackInInventoryAllSlots(IInventory source, IInventory destination, ItemStack stack, Direction direction)
private static boolean
a(amz arg0, bki arg1, int arg2, fz arg3)
canPlaceItemInContainer(Container arg0, ItemStack arg1, int arg2, Direction arg3)
method_11244(class_1263 arg0, class_1799 arg1, int arg2, class_2350 arg3)
canInsert(Inventory inventory, ItemStack stack, int slot, Direction side)
m_yfttzfgx(C_pjtstjoq arg0, C_sddaxwyk arg1, int arg2, C_xpuuihxf arg3)
func_174920_a(IInventory arg0, ItemStack arg1, int arg2, Direction arg3)
canInsertItemInSlot(IInventory inventoryIn, ItemStack stack, int index, Direction side)
private static boolean
b(amz arg0, bki arg1, int arg2, fz arg3)
canTakeItemFromContainer(Container arg0, ItemStack arg1, int arg2, Direction arg3)
method_11252(class_1263 arg0, class_1799 arg1, int arg2, class_2350 arg3)
canExtract(Inventory inv, ItemStack stack, int slot, Direction facing)
m_tmplyjcc(C_pjtstjoq arg0, C_sddaxwyk arg1, int arg2, C_xpuuihxf arg3)
func_174921_b(IInventory arg0, ItemStack arg1, int arg2, Direction arg3)
canExtractItemFromSlot(IInventory inventoryIn, ItemStack stack, int index, Direction side)
private static ItemStack
a(amz arg0, amz arg1, bki arg2, int arg3, fz arg4)
tryMoveInItem(Container arg0, Container arg1, ItemStack arg2, int arg3, Direction arg4)
method_11253(class_1263 arg0, class_1263 arg1, class_1799 arg2, int arg3, class_2350 arg4)
transfer(Inventory from, Inventory to, ItemStack stack, int slot, Direction arg4)
m_aedokznd(C_pjtstjoq arg0, C_pjtstjoq arg1, C_sddaxwyk arg2, int arg3, C_xpuuihxf arg4)
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
l()
getAttachedContainer()
method_11255()
getOutputInventory()
m_sqzuavxi()
func_145895_l()
getInventoryForHopperTransfer()
public static Inventory
b(cdz arg0)
getSourceContainer(Hopper arg0)
method_11248(class_2615 arg0)
getInputInventory(Hopper hopper)
m_opbelxmy(C_exiahbos arg0)
func_145884_b(IHopper arg0)
getSourceInventory(IHopper hopper)
public static List<ItemEntity>
c(cdz arg0)
getItemsAtAndAbove(Hopper arg0)
method_11237(class_2615 arg0)
getInputItemEntities(Hopper arg0)
m_imdwtouv(C_exiahbos arg0)
func_200115_c(IHopper arg0)
getCaptureItems(IHopper arg0)
public static Inventory
b(bqb arg0, fu arg1)
getContainerAt(Level arg0, BlockPos arg1)
method_11250(class_1937 arg0, class_2338 arg1)
getInventoryAt(World arg0, BlockPos arg1)
m_spdazaxi(C_cdctfzbn arg0, C_hynzadkk arg1)
func_195484_a(World arg0, BlockPos arg1)
getInventoryAtPosition(World arg0, BlockPos arg1)
public static Inventory
a(bqb arg0, double arg1, double arg2, double arg3)
getContainerAt(Level 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)
m_kyocncup(C_cdctfzbn arg0, double arg1, double arg2, double arg3)
func_145893_b(World arg0, double arg1, double arg2, double arg3)
getInventoryAtPosition(World worldIn, double x, double y, double z)
private static boolean
a(bki arg0, bki arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_11254(class_1799 arg0, class_1799 arg1)
canMergeItems(ItemStack first, ItemStack second)
m_wobetygt(C_sddaxwyk arg0, C_sddaxwyk arg1)
func_145894_a(ItemStack arg0, ItemStack arg1)
canCombine(ItemStack stack1, ItemStack stack2)
public double
x()
getLevelX()
method_11266()
getHopperX()
m_pjssfdux()
func_96107_aA()
getXPos()
public double
z()
getLevelY()
method_11264()
getHopperY()
m_gymptxwt()
func_96109_aB()
getYPos()
public double
A()
getLevelZ()
method_11265()
getHopperZ()
m_jckyrqkq()
func_96108_aC()
getZPos()
private void
c(int arg0)
setCooldown(int arg0)
method_11238(int arg0)
setCooldown(int cooldown)
m_zawzrfob(int arg0)
func_145896_c(int arg0)
setTransferCooldown(int ticks)
private boolean
m()
isOnCooldown()
method_11239()
needsCooldown()
m_casyzsyb()
func_145888_j()
isOnTransferCooldown()
private boolean
y()
isOnCustomCooldown()
method_11242()
isDisabled()
m_oshxfkng()
func_174914_o()
mayTransfer()
protected DefaultedList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
m_qkfbvwxz()
func_190576_q()
getItems()
protected void
a(gi<bki> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
setItems(NonNullList<ItemStack> arg0)
public void
a(aom arg0)
entityInside(Entity arg0)
method_11236(class_1297 arg0)
onEntityCollided(Entity arg0)
m_armjrcnb(C_astfners arg0)
func_200113_a(Entity arg0)
onEntityCollision(Entity arg0)
protected ScreenHandler
a(int arg0, beb arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createMenu(int arg0, PlayerInventory arg1)