Uses of Interface
net.minecraft.world.level.block.entity.Hopper
Packages that use Hopper
Package
Description
-
Uses of Hopper in net.minecraft.world.entity.vehicle
Classes in net.minecraft.world.entity.vehicle that implement Hopper -
Uses of Hopper in net.minecraft.world.level.block.entity
Classes in net.minecraft.world.level.block.entity that implement HopperMethods in net.minecraft.world.level.block.entity with parameters of type HopperModifier and TypeMethodDescriptionstatic List
<ItemEntity> HopperBlockEntity.getItemsAtAndAbove
(Level level, Hopper hopper) private static Container
HopperBlockEntity.getSourceContainer
(Level level, Hopper hopper, BlockPos pos, BlockState state) static boolean
HopperBlockEntity.suckInItems
(Level level, Hopper hopper) private static boolean
HopperBlockEntity.tryTakeInItemFromSlot
(Hopper hopper, Container container, int slot, Direction direction) Pulls from the specified slot in the container and places in any available slot in the hopper. -
Uses of Hopper in net.neoforged.neoforge.items
Methods in net.neoforged.neoforge.items with parameters of type HopperModifier and TypeMethodDescriptionstatic @Nullable Boolean
VanillaInventoryCodeHooks.extractHook
(Level level, Hopper dest) Copied from TileEntityHopper#captureDroppedItems and added capability supportprivate static Optional
<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getSourceItemHandler
(Level level, Hopper hopper)