Package net.minecraft.screen
Class AbstractCraftingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler
net.minecraft.screen.AbstractCraftingScreenHandler
- Direct Known Subclasses:
CraftingScreenHandler
,PlayerScreenHandler
- Mappings:
Namespace Name named net/minecraft/screen/AbstractCraftingScreenHandler
intermediary net/minecraft/class_9884
official ctc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.screen.AbstractRecipeScreenHandler
AbstractRecipeScreenHandler.PostFillAction
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RecipeInputInventory
protected final CraftingResultInventory
private final int
private final int
Fields inherited from class net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, field_52557, field_52558, slots, syncId
-
Constructor Summary
ConstructorDescriptionAbstractCraftingScreenHandler
(ScreenHandlerType<?> type, int syncId, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addInputSlots
(int x, int y) protected Slot
addResultSlot
(PlayerEntity player, int x, int y) fillInputSlots
(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory) int
abstract Slot
protected abstract PlayerEntity
int
getWidth()
protected void
onInputSlotFillFinish
(ServerWorld world, RecipeEntry<CraftingRecipe> recipe) protected void
void
populateRecipeFinder
(RecipeFinder finder) Methods inherited from class net.minecraft.screen.AbstractRecipeScreenHandler
getCategory
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addPlayerHotbarSlots, addPlayerInventorySlots, addPlayerSlots, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, canUse, checkDataCount, checkSize, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getRevision, getSlot, getSlotIndex, getStacks, getType, insertItem, isValid, nextRevision, onButtonClick, onClosed, onContentChanged, onSlotClick, packQuickCraftData, quickMove, removeListener, selectBundleStack, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Field Details
-
width
private final int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/screen/AbstractCraftingScreenHandler;width:I
intermediary field_52561
Lnet/minecraft/class_9884;field_52561:I
official o
Lctc;o:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/screen/AbstractCraftingScreenHandler;height:I
intermediary field_52562
Lnet/minecraft/class_9884;field_52562:I
official p
Lctc;p:I
-
craftingInventory
- Mappings:
Namespace Name Mixin selector named craftingInventory
Lnet/minecraft/screen/AbstractCraftingScreenHandler;craftingInventory:Lnet/minecraft/inventory/RecipeInputInventory;
intermediary field_52559
Lnet/minecraft/class_9884;field_52559:Lnet/minecraft/class_8566;
official m
Lctc;m:Lctt;
-
craftingResultInventory
- Mappings:
Namespace Name Mixin selector named craftingResultInventory
Lnet/minecraft/screen/AbstractCraftingScreenHandler;craftingResultInventory:Lnet/minecraft/inventory/CraftingResultInventory;
intermediary field_52560
Lnet/minecraft/class_9884;field_52560:Lnet/minecraft/class_1731;
official n
Lctc;n:Lcut;
-
-
Constructor Details
-
AbstractCraftingScreenHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/screen/AbstractCraftingScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;III)V
intermediary <init>
Lnet/minecraft/class_9884;<init>(Lnet/minecraft/class_3917;III)V
official <init>
Lctc;<init>(Lcuk;III)V
-
-
Method Details
-
addResultSlot
- Mappings:
Namespace Name Mixin selector named addResultSlot
Lnet/minecraft/screen/AbstractCraftingScreenHandler;addResultSlot(Lnet/minecraft/entity/player/PlayerEntity;II)Lnet/minecraft/screen/slot/Slot;
intermediary method_61625
Lnet/minecraft/class_9884;method_61625(Lnet/minecraft/class_1657;II)Lnet/minecraft/class_1735;
official a
Lctc;a(Lcpw;II)Lcuy;
-
addInputSlots
protected void addInputSlots(int x, int y) - Mappings:
Namespace Name Mixin selector named addInputSlots
Lnet/minecraft/screen/AbstractCraftingScreenHandler;addInputSlots(II)V
intermediary method_61626
Lnet/minecraft/class_9884;method_61626(II)V
official d
Lctc;d(II)V
-
fillInputSlots
public AbstractRecipeScreenHandler.PostFillAction fillInputSlots(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory) - Specified by:
fillInputSlots
in classAbstractRecipeScreenHandler
- Mappings:
Namespace Name Mixin selector named fillInputSlots
Lnet/minecraft/screen/AbstractRecipeScreenHandler;fillInputSlots(ZZLnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/AbstractRecipeScreenHandler$PostFillAction;
intermediary method_17697
Lnet/minecraft/class_1729;method_17697(ZZLnet/minecraft/class_8786;Lnet/minecraft/class_3218;Lnet/minecraft/class_1661;)Lnet/minecraft/class_1729$class_9885;
official a
Lcuq;a(ZZLdci;Lash;Lcpv;)Lcuq$a;
-
onInputSlotFillStart
protected void onInputSlotFillStart()- Mappings:
Namespace Name Mixin selector named onInputSlotFillStart
Lnet/minecraft/screen/AbstractCraftingScreenHandler;onInputSlotFillStart()V
intermediary method_59963
Lnet/minecraft/class_9884;method_59963()V
official l
Lctc;l()V
-
onInputSlotFillFinish
- Mappings:
Namespace Name Mixin selector named onInputSlotFillFinish
Lnet/minecraft/screen/AbstractCraftingScreenHandler;onInputSlotFillFinish(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_59964
Lnet/minecraft/class_9884;method_59964(Lnet/minecraft/class_3218;Lnet/minecraft/class_8786;)V
official a
Lctc;a(Lash;Ldci;)V
-
getOutputSlot
- Mappings:
Namespace Name Mixin selector named getOutputSlot
Lnet/minecraft/screen/AbstractCraftingScreenHandler;getOutputSlot()Lnet/minecraft/screen/slot/Slot;
intermediary method_61627
Lnet/minecraft/class_9884;method_61627()Lnet/minecraft/class_1735;
official m
Lctc;m()Lcuy;
-
getInputSlots
- Mappings:
Namespace Name Mixin selector named getInputSlots
Lnet/minecraft/screen/AbstractCraftingScreenHandler;getInputSlots()Ljava/util/List;
intermediary method_61628
Lnet/minecraft/class_9884;method_61628()Ljava/util/List;
official n
Lctc;n()Ljava/util/List;
-
getWidth
public int getWidth()- Mappings:
Namespace Name Mixin selector named getWidth
Lnet/minecraft/screen/AbstractCraftingScreenHandler;getWidth()I
intermediary method_61629
Lnet/minecraft/class_9884;method_61629()I
official o
Lctc;o()I
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/screen/AbstractCraftingScreenHandler;getHeight()I
intermediary method_61630
Lnet/minecraft/class_9884;method_61630()I
official p
Lctc;p()I
-
getPlayer
- Mappings:
Namespace Name Mixin selector named getPlayer
Lnet/minecraft/screen/AbstractCraftingScreenHandler;getPlayer()Lnet/minecraft/entity/player/PlayerEntity;
intermediary method_61631
Lnet/minecraft/class_9884;method_61631()Lnet/minecraft/class_1657;
official q
Lctc;q()Lcpw;
-
populateRecipeFinder
- Specified by:
populateRecipeFinder
in classAbstractRecipeScreenHandler
- Mappings:
Namespace Name Mixin selector named populateRecipeFinder
Lnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeFinder;)V
intermediary method_7654
Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_9875;)V
official a
Lcuq;a(Lcqb;)V
-