Package net.minecraft.screen
Class CraftingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.CraftingScreenHandler
- Mappings:
Namespace Name official xqintermediary net/minecraft/class_1012named net/minecraft/screen/CraftingScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
ConstructorsConstructorDescriptionCraftingScreenHandler(PlayerInventory playerInventory, World world, BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsertIntoSlot(ItemStack stack, Slot slot) booleancanUse(PlayerEntity player) voidclose(PlayerEntity player) voidonContentChanged(Inventory inventory) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3255, onButtonClick, onSlotClick, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
craftingInv
- Mappings:
Namespace Name Mixin selector official aLxq;a:Lxp;intermediary field_4106Lnet/minecraft/class_1012;field_4106:Lnet/minecraft/class_1011;named craftingInvLnet/minecraft/screen/CraftingScreenHandler;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
-
resultInv
- Mappings:
Namespace Name Mixin selector official fLxq;f:Log;intermediary field_4107Lnet/minecraft/class_1012;field_4107:Lnet/minecraft/class_849;named resultInvLnet/minecraft/screen/CraftingScreenHandler;resultInv:Lnet/minecraft/inventory/Inventory;
-
world
- Mappings:
Namespace Name Mixin selector official gLxq;g:Ladm;intermediary field_4108Lnet/minecraft/class_1012;field_4108:Lnet/minecraft/class_1150;named worldLnet/minecraft/screen/CraftingScreenHandler;world:Lnet/minecraft/world/World;
-
pos
- Mappings:
Namespace Name Mixin selector official hLxq;h:Lcj;intermediary field_12143Lnet/minecraft/class_1012;field_12143:Lnet/minecraft/class_2552;named posLnet/minecraft/screen/CraftingScreenHandler;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
CraftingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lxq;<init>(Lwm;Ladm;Lcj;)Vintermediary <init>Lnet/minecraft/class_1012;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/screen/CraftingScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
onContentChanged
- Overrides:
onContentChangedin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Log;)Vintermediary method_3254Lnet/minecraft/class_1002;method_3254(Lnet/minecraft/class_849;)Vnamed onContentChangedLnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(Lwn;)Vintermediary method_3257Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Lwn;)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 bLxi;b(Lwn;I)Lzx;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;
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Lzx;Lyg;)Zintermediary method_5449Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z
-