Package net.minecraft.screen
Class HopperScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.HopperScreenHandler
- Mappings:
Namespace Name official aixintermediary net/minecraft/class_1582named net/minecraft/screen/HopperScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
ConstructorsConstructorDescriptionHopperScreenHandler(PlayerInventory playerInventory, Inventory inventory, PlayerEntity player) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse(PlayerEntity player) voidclose(PlayerEntity player) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3255, onButtonClick, onContentChanged, onSlotClick, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLaix;a:Lvq;intermediary field_6162Lnet/minecraft/class_1582;field_6162:Lnet/minecraft/class_849;named inventoryLnet/minecraft/screen/HopperScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
-
Constructor Details
-
HopperScreenHandler
public HopperScreenHandler(PlayerInventory playerInventory, Inventory inventory, PlayerEntity player) - Mappings:
Namespace Name Mixin selector official <init>Laix;<init>(Lahb;Lvq;Lahd;)Vintermediary <init>Lnet/minecraft/class_1582;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_849;Lnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/screen/HopperScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaib;a(Lahd;)Zintermediary method_3269Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaib;b(Lahd;I)Lamj;intermediary method_3265Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaib;b(Lahd;)Vintermediary method_3257Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-