Package net.minecraft.screen
Class CraftingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.CraftingScreenHandler
- Mappings:
Namespace Name official actintermediary net/minecraft/class_1012named net/minecraft/screen/CraftingScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
field_15099, listeners, slots, syncId -
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, insertItem, isNotRestricted, method_13641, method_13642, method_3252, method_3255, onButtonClick, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
craftingInv
- Mappings:
Namespace Name Mixin selector official aLact;a:Lacs;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 fLact;f:Lrc;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 gLact;g:Lajs;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 hLact;h:Lco;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>Lact;<init>(Laax;Lajs;Lco;)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 aLacl;a(Lrc;)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 bLacl;b(Laay;)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 aLacl;a(Laay;)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 bLacl;b(Laay;I)Lafj;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 aLacl;a(Lafj;Ladl;)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
-