Package net.minecraft.screen
Class Generic3x3ScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.Generic3x3ScreenHandler
public class Generic3x3ScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official xrintermediary net/minecraft/class_1995named net/minecraft/screen/Generic3x3ScreenHandler
-
Field Summary
Fields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
Constructors Constructor Description Generic3x3ScreenHandler(Inventory playerInventory, Inventory inventory) -
Method Summary
Modifier and Type Method Description booleancanUse(PlayerEntity player)ItemStacktransferSlot(PlayerEntity player, int invSlot)Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, close, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_8096, method_8102, onButtonClick, onContentChanged, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLxr;a:Log;intermediary field_8478Lnet/minecraft/class_1995;field_8478:Lnet/minecraft/class_1718;named inventoryLnet/minecraft/screen/Generic3x3ScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
-
Constructor Details
-
Generic3x3ScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lxr;<init>(Log;Log;)Vintermediary <init>Lnet/minecraft/class_1995;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;)Vnamed <init>Lnet/minecraft/screen/Generic3x3ScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Lwn;)Zintermediary method_8104Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(Lwn;I)Lzx;intermediary method_8118Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-