Package net.minecraft.block.entity
Interface Hopper
- All Known Implementing Classes:
HopperBlockEntity,HopperMinecartEntity
public interface Hopper extends Inventory
- Mappings:
Namespace Name official cgiintermediary net/minecraft/class_2615named net/minecraft/block/entity/Hopper
-
Field Summary
Fields Modifier and Type Field Description static VoxelShapeABOVE_SHAPEstatic VoxelShapeINPUT_AREA_SHAPEstatic VoxelShapeINSIDE_SHAPE -
Method Summary
Modifier and Type Method Description doublegetHopperX()doublegetHopperY()doublegetHopperZ()default VoxelShapegetInputAreaShape()Methods inherited from interface net.minecraft.inventory.Inventory
canPlayerUse, containsAny, count, getMaxCountPerStack, getStack, isEmpty, isValid, markDirty, onClose, onOpen, removeStack, removeStack, setStack, size
-
Field Details
-
INSIDE_SHAPE
- Mappings:
Namespace Name Mixin selector official aLcgi;a:Ldjn;intermediary field_12025Lnet/minecraft/class_2615;field_12025:Lnet/minecraft/class_265;named INSIDE_SHAPELnet/minecraft/block/entity/Hopper;INSIDE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
ABOVE_SHAPE
- Mappings:
Namespace Name Mixin selector official bLcgi;b:Ldjn;intermediary field_12027Lnet/minecraft/class_2615;field_12027:Lnet/minecraft/class_265;named ABOVE_SHAPELnet/minecraft/block/entity/Hopper;ABOVE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
INPUT_AREA_SHAPE
- Mappings:
Namespace Name Mixin selector official cLcgi;c:Ldjn;intermediary field_12026Lnet/minecraft/class_2615;field_12026:Lnet/minecraft/class_265;named INPUT_AREA_SHAPELnet/minecraft/block/entity/Hopper;INPUT_AREA_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
Method Details
-
getInputAreaShape
- Mappings:
Namespace Name Mixin selector official ab_Lcgi;ab_()Ldjn;intermediary method_11262Lnet/minecraft/class_2615;method_11262()Lnet/minecraft/class_265;named getInputAreaShapeLnet/minecraft/block/entity/Hopper;getInputAreaShape()Lnet/minecraft/util/shape/VoxelShape;
-
getHopperX
double getHopperX()- Mappings:
Namespace Name Mixin selector official wLcgi;w()Dintermediary method_11266Lnet/minecraft/class_2615;method_11266()Dnamed getHopperXLnet/minecraft/block/entity/Hopper;getHopperX()D
-
getHopperY
double getHopperY()- Mappings:
Namespace Name Mixin selector official xLcgi;x()Dintermediary method_11264Lnet/minecraft/class_2615;method_11264()Dnamed getHopperYLnet/minecraft/block/entity/Hopper;getHopperY()D
-
getHopperZ
double getHopperZ()- Mappings:
Namespace Name Mixin selector official zLcgi;z()Dintermediary method_11265Lnet/minecraft/class_2615;method_11265()Dnamed getHopperZLnet/minecraft/block/entity/Hopper;getHopperZ()D
-