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 pLevel, Hopper pHopper) private static Container
HopperBlockEntity.getSourceContainer
(Level pLevel, Hopper pHopper, BlockPos pPos, BlockState pState) static boolean
HopperBlockEntity.suckInItems
(Level pLevel, Hopper pHopper) private static boolean
HopperBlockEntity.tryTakeInItemFromSlot
(Hopper pHopper, Container pContainer, int pSlot, Direction pDirection) 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)