Package net.minecraft.screen
Class AbstractRecipeScreenHandler<I extends RecipeInput,R extends Recipe<I>>
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler<I,R>
- Direct Known Subclasses:
AbstractFurnaceScreenHandler
,CraftingScreenHandler
,PlayerScreenHandler
public abstract class AbstractRecipeScreenHandler<I extends RecipeInput,R extends Recipe<I>>
extends ScreenHandler
- Mappings:
Namespace Name named net/minecraft/screen/AbstractRecipeScreenHandler
intermediary net/minecraft/class_1729
official cri
-
Field Summary
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, slots, syncId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
canInsertIntoSlot
(int index) abstract void
void
fillInputSlots
(boolean craftAll, RecipeEntry<?> recipe, ServerPlayerEntity player) abstract RecipeBookCategory
abstract int
abstract int
abstract int
abstract int
abstract boolean
matches
(RecipeEntry<R> recipe) protected void
onInputSlotFillFinish
(RecipeEntry<R> recipe) protected void
abstract void
populateRecipeFinder
(RecipeMatcher finder) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, 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, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Constructor Details
-
AbstractRecipeScreenHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/screen/ScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;I)V
intermediary <init>
Lnet/minecraft/class_1703;<init>(Lnet/minecraft/class_3917;I)V
official <init>
Lcpu;<init>(Lcrc;I)V
-
-
Method Details
-
fillInputSlots
- Mappings:
Namespace Name Mixin selector named fillInputSlots
Lnet/minecraft/screen/AbstractRecipeScreenHandler;fillInputSlots(ZLnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_17697
Lnet/minecraft/class_1729;method_17697(ZLnet/minecraft/class_8786;Lnet/minecraft/class_3222;)V
official a
Lcri;a(ZLczb;Laqv;)V
-
onInputSlotFillStart
protected void onInputSlotFillStart()- Mappings:
Namespace Name Mixin selector named onInputSlotFillStart
Lnet/minecraft/screen/AbstractRecipeScreenHandler;onInputSlotFillStart()V
intermediary method_59963
Lnet/minecraft/class_1729;method_59963()V
official an_
Lcri;an_()V
-
onInputSlotFillFinish
- Mappings:
Namespace Name Mixin selector named onInputSlotFillFinish
Lnet/minecraft/screen/AbstractRecipeScreenHandler;onInputSlotFillFinish(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_59964
Lnet/minecraft/class_1729;method_59964(Lnet/minecraft/class_8786;)V
official b
Lcri;b(Lczb;)V
-
populateRecipeFinder
- Mappings:
Namespace Name Mixin selector named populateRecipeFinder
Lnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeMatcher;)V
intermediary method_7654
Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_1662;)V
official a
Lcri;a(Lcnb;)V
-
clearCraftingSlots
public abstract void clearCraftingSlots()- Mappings:
Namespace Name Mixin selector named clearCraftingSlots
Lnet/minecraft/screen/AbstractRecipeScreenHandler;clearCraftingSlots()V
intermediary method_7657
Lnet/minecraft/class_1729;method_7657()V
official l
Lcri;l()V
-
matches
- Mappings:
Namespace Name Mixin selector named matches
Lnet/minecraft/screen/AbstractRecipeScreenHandler;matches(Lnet/minecraft/recipe/RecipeEntry;)Z
intermediary method_7652
Lnet/minecraft/class_1729;method_7652(Lnet/minecraft/class_8786;)Z
official a
Lcri;a(Lczb;)Z
-
getCraftingResultSlotIndex
public abstract int getCraftingResultSlotIndex()- Mappings:
Namespace Name Mixin selector named getCraftingResultSlotIndex
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingResultSlotIndex()I
intermediary method_7655
Lnet/minecraft/class_1729;method_7655()I
official m
Lcri;m()I
-
getCraftingWidth
public abstract int getCraftingWidth()- Mappings:
Namespace Name Mixin selector named getCraftingWidth
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingWidth()I
intermediary method_7653
Lnet/minecraft/class_1729;method_7653()I
official n
Lcri;n()I
-
getCraftingHeight
public abstract int getCraftingHeight()- Mappings:
Namespace Name Mixin selector named getCraftingHeight
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingHeight()I
intermediary method_7656
Lnet/minecraft/class_1729;method_7656()I
official o
Lcri;o()I
-
getCraftingSlotCount
public abstract int getCraftingSlotCount()- Mappings:
Namespace Name Mixin selector named getCraftingSlotCount
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingSlotCount()I
intermediary method_7658
Lnet/minecraft/class_1729;method_7658()I
official p
Lcri;p()I
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategory
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
intermediary method_30264
Lnet/minecraft/class_1729;method_30264()Lnet/minecraft/class_5421;
official t
Lcri;t()Lcrj;
-
canInsertIntoSlot
public abstract boolean canInsertIntoSlot(int index) - Mappings:
Namespace Name Mixin selector named canInsertIntoSlot
Lnet/minecraft/screen/AbstractRecipeScreenHandler;canInsertIntoSlot(I)Z
intermediary method_32339
Lnet/minecraft/class_1729;method_32339(I)Z
official e
Lcri;e(I)Z
-