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/AbstractRecipeScreenHandlerintermediary net/minecraft/class_1729official cqs
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancanInsertIntoSlot(int index) abstract voidvoidfillInputSlots(boolean craftAll, RecipeEntry<?> recipe, ServerPlayerEntity player) abstract RecipeBookCategoryabstract intabstract intabstract intabstract intabstract booleanmatches(RecipeEntry<R> recipe) protected voidonInputSlotFillFinish(RecipeEntry<R> recipe) protected voidabstract voidpopulateRecipeFinder(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)Vintermediary <init>Lnet/minecraft/class_1703;<init>(Lnet/minecraft/class_3917;I)Vofficial <init>Lcpe;<init>(Lcqm;I)V
-
-
Method Details
-
fillInputSlots
- Mappings:
Namespace Name Mixin selector named fillInputSlotsLnet/minecraft/screen/AbstractRecipeScreenHandler;fillInputSlots(ZLnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_17697Lnet/minecraft/class_1729;method_17697(ZLnet/minecraft/class_8786;Lnet/minecraft/class_3222;)Vofficial aLcqs;a(ZLcyi;Laql;)V
-
onInputSlotFillStart
protected void onInputSlotFillStart()- Mappings:
Namespace Name Mixin selector named onInputSlotFillStartLnet/minecraft/screen/AbstractRecipeScreenHandler;onInputSlotFillStart()Vintermediary method_59963Lnet/minecraft/class_1729;method_59963()Vofficial aj_Lcqs;aj_()V
-
onInputSlotFillFinish
- Mappings:
Namespace Name Mixin selector named onInputSlotFillFinishLnet/minecraft/screen/AbstractRecipeScreenHandler;onInputSlotFillFinish(Lnet/minecraft/recipe/RecipeEntry;)Vintermediary method_59964Lnet/minecraft/class_1729;method_59964(Lnet/minecraft/class_8786;)Vofficial bLcqs;b(Lcyi;)V
-
populateRecipeFinder
- Mappings:
Namespace Name Mixin selector named populateRecipeFinderLnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeMatcher;)Vintermediary method_7654Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_1662;)Vofficial aLcqs;a(Lcml;)V
-
clearCraftingSlots
public abstract void clearCraftingSlots()- Mappings:
Namespace Name Mixin selector named clearCraftingSlotsLnet/minecraft/screen/AbstractRecipeScreenHandler;clearCraftingSlots()Vintermediary method_7657Lnet/minecraft/class_1729;method_7657()Vofficial lLcqs;l()V
-
matches
- Mappings:
Namespace Name Mixin selector named matchesLnet/minecraft/screen/AbstractRecipeScreenHandler;matches(Lnet/minecraft/recipe/RecipeEntry;)Zintermediary method_7652Lnet/minecraft/class_1729;method_7652(Lnet/minecraft/class_8786;)Zofficial aLcqs;a(Lcyi;)Z
-
getCraftingResultSlotIndex
public abstract int getCraftingResultSlotIndex()- Mappings:
Namespace Name Mixin selector named getCraftingResultSlotIndexLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingResultSlotIndex()Iintermediary method_7655Lnet/minecraft/class_1729;method_7655()Iofficial mLcqs;m()I
-
getCraftingWidth
public abstract int getCraftingWidth()- Mappings:
Namespace Name Mixin selector named getCraftingWidthLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingWidth()Iintermediary method_7653Lnet/minecraft/class_1729;method_7653()Iofficial nLcqs;n()I
-
getCraftingHeight
public abstract int getCraftingHeight()- Mappings:
Namespace Name Mixin selector named getCraftingHeightLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingHeight()Iintermediary method_7656Lnet/minecraft/class_1729;method_7656()Iofficial oLcqs;o()I
-
getCraftingSlotCount
public abstract int getCraftingSlotCount()- Mappings:
Namespace Name Mixin selector named getCraftingSlotCountLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingSlotCount()Iintermediary method_7658Lnet/minecraft/class_1729;method_7658()Iofficial pLcqs;p()I
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/screen/AbstractRecipeScreenHandler;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;intermediary method_30264Lnet/minecraft/class_1729;method_30264()Lnet/minecraft/class_5421;official tLcqs;t()Lcqt;
-
canInsertIntoSlot
public abstract boolean canInsertIntoSlot(int index) - Mappings:
Namespace Name Mixin selector named canInsertIntoSlotLnet/minecraft/screen/AbstractRecipeScreenHandler;canInsertIntoSlot(I)Zintermediary method_32339Lnet/minecraft/class_1729;method_32339(I)Zofficial eLcqs;e(I)Z
-