Package net.minecraft.screen
Class AbstractRecipeScreenHandler<C extends Inventory>
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler<C>
- Direct Known Subclasses:
AbstractFurnaceScreenHandler,CraftingScreenHandler,PlayerScreenHandler
- Mappings:
Namespace Name named net/minecraft/screen/AbstractRecipeScreenHandlerintermediary net/minecraft/class_1729official crg
-
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<? extends Recipe<C>> recipe) abstract 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>Lcpt;<init>(Lcra;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 aLcrg;a(ZLcyw;Larf;)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 aLcrg;a(Lcna;)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 lLcrg;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 aLcrg;a(Lcyw;)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 mLcrg;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 nLcrg;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 oLcrg;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 pLcrg;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 tLcrg;t()Lcrh;
-
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 eLcrg;e(I)Z
-