Package net.minecraft.screen
Class CraftingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.CraftingScreenHandler
- Mappings:
Namespace Name official afzintermediary net/minecraft/class_1012named net/minecraft/screen/CraftingScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerEntityprivate final BlockPosprivate final WorldFields 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_14204, method_14205, method_3252, method_3255, onButtonClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
craftingInv
- Mappings:
Namespace Name Mixin selector official aLafz;a:Lafy;intermediary field_4106Lnet/minecraft/class_1012;field_4106:Lnet/minecraft/class_1011;named craftingInvLnet/minecraft/screen/CraftingScreenHandler;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
-
field_15644
- Mappings:
Namespace Name Mixin selector official fLafz;f:Lagn;intermediary field_15644Lnet/minecraft/class_1012;field_15644:Lnet/minecraft/class_1024;named field_15644Lnet/minecraft/screen/CraftingScreenHandler;field_15644:Lnet/minecraft/inventory/CraftingResultInventory;
-
world
- Mappings:
Namespace Name Mixin selector official gLafz;g:Lamu;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 hLafz;h:Let;intermediary field_12143Lnet/minecraft/class_1012;field_12143:Lnet/minecraft/class_2552;named posLnet/minecraft/screen/CraftingScreenHandler;pos:Lnet/minecraft/util/math/BlockPos;
-
field_15645
- Mappings:
Namespace Name Mixin selector official iLafz;i:Laed;intermediary field_15645Lnet/minecraft/class_1012;field_15645:Lnet/minecraft/class_988;named field_15645Lnet/minecraft/screen/CraftingScreenHandler;field_15645:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
CraftingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lafz;<init>(Laec;Lamu;Let;)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 aLafr;a(Ltv;)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 bLafr;b(Laed;)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 aLafr;a(Laed;)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 bLafr;b(Laed;I)Laip;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 aLafr;a(Laip;Lagr;)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
-