Class RecipeBookWidget<T extends AbstractRecipeScreenHandler>
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget<T>
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable
- Direct Known Subclasses:
CraftingRecipeBookWidget,FurnaceRecipeBookWidget
@Environment(CLIENT)
public abstract class RecipeBookWidget<T extends AbstractRecipeScreenHandler>
extends Object
implements Drawable, Element, Selectable
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeBookWidgetintermediary net/minecraft/class_507official gwv
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ButtonTexturesprivate intprotected MinecraftClientprotected final Tprivate RecipeGroupButtonWidgetprivate floatstatic final intstatic final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final GhostRecipeprivate intprivate booleanprivate booleanprivate intprivate intprivate ClientRecipeBookprivate final RecipeFinderprivate final RecipeBookResultsprivate static final Textprivate TextFieldWidgetprivate ScreenRectprivate booleanprivate Stringprivate NetworkRecipeIdprivate NetworkRecipeIdprivate RecipeResultCollectionprivate final List<RecipeGroupButtonWidget> private final List<RecipeBookWidget.Tab> protected static final Identifierprivate static final Textprotected CyclingButtonWidget<Boolean> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder) booleanCallback for when a character input has been captured.voiddrawGhostSlots(DrawContext context, boolean resultHasPadding) voiddrawTooltip(DrawContext context, int x, int y, @Nullable Slot slot) intfindLeftEdge(int width, int backgroundWidth) protected abstract ButtonTexturesprivate intgetLeft()protected abstract Textprivate intgetTop()getType()voidinitialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow) booleanisClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight) protected abstract booleanisCraftingSlot(Slot slot) Returns whether a slot is involved in crafting for this recipe book widget's recipes.private booleanbooleanprivate booleanbooleanisMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.booleanisOpen()private booleanisWide()booleankeyPressed(KeyInput input) Callback for when a key down event has been captured.booleankeyReleased(KeyInput input) Callback for when a key down event has been captured.booleanmouseClicked(Click click, boolean doubled) Callback for when a mouse button down event has been captured.booleanmouseDragged(Click click, double offsetX, double offsetY) Callback for when a mouse button drag event has been captured.voidonCraftFailed(RecipeDisplay display) voidonMouseClick(@Nullable Slot slot) voidonRecipeDisplayed(NetworkRecipeId recipeId) private voidonTabSelected(ButtonWidget button) private voidprotected abstract voidpopulateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder) voidrefresh()private voidprivate voidrefreshResults(boolean resetCurrentPage, boolean filteringCraftable) private voidprivate voidrefreshTabButtons(boolean filteringCraftable) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) private voidreset()private booleanselect(RecipeResultCollection results, NetworkRecipeId recipeId, boolean craftAll) protected voidprivate voidsetCurrentTab(RecipeGroupButtonWidget currentTab) voidsetFocused(boolean focused) protected voidsetOpen(boolean opened) protected abstract voidshowGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context) private voidvoidprivate voidtriggerPirateSpeakEasterEgg(String search) voidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getFocusedPath, getNavigationFocus, getNavigationPath, isClickable, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedParts, isInteractable
-
Field Details
-
BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named BUTTON_TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_45550Lnet/minecraft/class_507;field_45550:Lnet/minecraft/class_8666;official aLgwv;a:Lgku;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURELnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_3097Lnet/minecraft/class_507;field_3097:Lnet/minecraft/class_2960;official bLgwv;b:Lamo;
-
field_52839
private static final int field_52839- See Also:
- Mappings:
Namespace Name Mixin selector named field_52839Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52839:Iintermediary field_52839Lnet/minecraft/class_507;field_52839:Iofficial hLgwv;h:I
-
field_52840
private static final int field_52840- See Also:
- Mappings:
Namespace Name Mixin selector named field_52840Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52840:Iintermediary field_52840Lnet/minecraft/class_507;field_52840:Iofficial iLgwv;i:I
-
SEARCH_HINT_TEXT
- Mappings:
Namespace Name Mixin selector named SEARCH_HINT_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;SEARCH_HINT_TEXT:Lnet/minecraft/text/Text;intermediary field_25711Lnet/minecraft/class_507;field_25711:Lnet/minecraft/class_2561;official jLgwv;j:Lyh;
-
field_32408
public static final int field_32408- See Also:
- Mappings:
Namespace Name Mixin selector named field_32408Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32408:Iintermediary field_32408Lnet/minecraft/class_507;field_32408:Iofficial cLgwv;c:I
-
field_32409
public static final int field_32409- See Also:
- Mappings:
Namespace Name Mixin selector named field_32409Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32409:Iintermediary field_32409Lnet/minecraft/class_507;field_32409:Iofficial dLgwv;d:I
-
field_32410
private static final int field_32410- See Also:
- Mappings:
Namespace Name Mixin selector named field_32410Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32410:Iintermediary field_32410Lnet/minecraft/class_507;field_32410:Iofficial kLgwv;k:I
-
field_54389
private static final int field_54389- See Also:
- Mappings:
Namespace Name Mixin selector named field_54389Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_54389:Iintermediary field_54389Lnet/minecraft/class_507;field_54389:Iofficial lLgwv;l:I
-
TOGGLE_ALL_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_ALL_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_ALL_RECIPES_TEXT:Lnet/minecraft/text/Text;intermediary field_26594Lnet/minecraft/class_507;field_26594:Lnet/minecraft/class_2561;official mLgwv;m:Lyh;
-
field_52841
private static final int field_52841- See Also:
- Mappings:
Namespace Name Mixin selector named field_52841Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52841:Iintermediary field_52841Lnet/minecraft/class_507;field_52841:Iofficial nLgwv;n:I
-
leftOffset
private int leftOffset- Mappings:
Namespace Name Mixin selector named leftOffsetLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:Iintermediary field_3102Lnet/minecraft/class_507;field_3102:Iofficial oLgwv;o:I
-
parentWidth
private int parentWidth- Mappings:
Namespace Name Mixin selector named parentWidthLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:Iintermediary field_3101Lnet/minecraft/class_507;field_3101:Iofficial pLgwv;p:I
-
parentHeight
private int parentHeight- Mappings:
Namespace Name Mixin selector named parentHeightLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentHeight:Iintermediary field_3100Lnet/minecraft/class_507;field_3100:Iofficial qLgwv;q:I
-
displayTime
private float displayTime- Mappings:
Namespace Name Mixin selector named displayTimeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;displayTime:Fintermediary field_52842Lnet/minecraft/class_507;field_52842:Fofficial rLgwv;r:F
-
selectedRecipeId
- Mappings:
Namespace Name Mixin selector named selectedRecipeIdLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipeId:Lnet/minecraft/recipe/NetworkRecipeId;intermediary field_54830Lnet/minecraft/class_507;field_54830:Lnet/minecraft/class_10298;official sLgwv;s:Ldsa;
-
ghostRecipe
- Mappings:
Namespace Name Mixin selector named ghostRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostRecipe:Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;intermediary field_52843Lnet/minecraft/class_507;field_52843:Lnet/minecraft/class_9934;official tLgwv;t:Lgwt;
-
tabButtons
- Mappings:
Namespace Name Mixin selector named tabButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabButtons:Ljava/util/List;intermediary field_3094Lnet/minecraft/class_507;field_3094:Ljava/util/List;official uLgwv;u:Ljava/util/List;
-
currentTab
- Mappings:
Namespace Name Mixin selector named currentTabLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;currentTab:Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;intermediary field_3098Lnet/minecraft/class_507;field_3098:Lnet/minecraft/class_512;official vLgwv;v:Lgwx;
-
toggleCraftableButton
- Mappings:
Namespace Name Mixin selector named toggleCraftableButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_3088Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_5676;official eLgwv;e:Lgjl;
-
craftingScreenHandler
- Mappings:
Namespace Name Mixin selector named craftingScreenHandlerLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;intermediary field_3095Lnet/minecraft/class_507;field_3095:Lnet/minecraft/class_1729;official fLgwv;f:Ldiz;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;client:Lnet/minecraft/client/MinecraftClient;intermediary field_3091Lnet/minecraft/class_507;field_3091:Lnet/minecraft/class_310;official gLgwv;g:Lgfj;
-
searchField
- Mappings:
Namespace Name Mixin selector named searchFieldLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_3089Lnet/minecraft/class_507;field_3089:Lnet/minecraft/class_342;official wLgwv;w:Lgjn;
-
searchText
- Mappings:
Namespace Name Mixin selector named searchTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchText:Ljava/lang/String;intermediary field_3099Lnet/minecraft/class_507;field_3099:Ljava/lang/String;official xLgwv;x:Ljava/lang/String;
-
tabs
- Mappings:
Namespace Name Mixin selector named tabsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabs:Ljava/util/List;intermediary field_54831Lnet/minecraft/class_507;field_54831:Ljava/util/List;official yLgwv;y:Ljava/util/List;
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;intermediary field_3096Lnet/minecraft/class_507;field_3096:Lnet/minecraft/class_299;official zLgwv;z:Lgeu;
-
recipesArea
- Mappings:
Namespace Name Mixin selector named recipesAreaLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipesArea:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;intermediary field_3086Lnet/minecraft/class_507;field_3086:Lnet/minecraft/class_513;official ALgwv;A:Lgww;
-
selectedRecipe
- Mappings:
Namespace Name Mixin selector named selectedRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipe:Lnet/minecraft/recipe/NetworkRecipeId;intermediary field_53832Lnet/minecraft/class_507;field_53832:Lnet/minecraft/class_10298;official BLgwv;B:Ldsa;
-
selectedRecipeResults
- Mappings:
Namespace Name Mixin selector named selectedRecipeResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipeResults:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;intermediary field_53833Lnet/minecraft/class_507;field_53833:Lnet/minecraft/class_516;official CLgwv;C:Lgwz;
-
recipeFinder
- Mappings:
Namespace Name Mixin selector named recipeFinderLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeFinder;intermediary field_3090Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_9875;official DLgwv;D:Lddu;
-
cachedInvChangeCount
private int cachedInvChangeCount- Mappings:
Namespace Name Mixin selector named cachedInvChangeCountLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:Iintermediary field_3093Lnet/minecraft/class_507;field_3093:Iofficial ELgwv;E:I
-
searching
private boolean searching- Mappings:
Namespace Name Mixin selector named searchingLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching:Zintermediary field_3087Lnet/minecraft/class_507;field_3087:Zofficial FLgwv;F:Z
-
open
private boolean open- Mappings:
Namespace Name Mixin selector named openLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;open:Zintermediary field_33679Lnet/minecraft/class_507;field_33679:Zofficial GLgwv;G:Z
-
narrow
private boolean narrow- Mappings:
Namespace Name Mixin selector named narrowLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;narrow:Zintermediary field_34001Lnet/minecraft/class_507;field_34001:Zofficial HLgwv;H:Z
-
searchFieldRect
- Mappings:
Namespace Name Mixin selector named searchFieldRectLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchFieldRect:Lnet/minecraft/client/gui/ScreenRect;intermediary field_54388Lnet/minecraft/class_507;field_54388:Lnet/minecraft/class_8030;official ILgwv;I:Lgpm;
-
-
Constructor Details
-
RecipeBookWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;<init>(Lnet/minecraft/screen/AbstractRecipeScreenHandler;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_507;<init>(Lnet/minecraft/class_1729;Ljava/util/List;)Vofficial <init>Lgwv;<init>(Ldiz;Ljava/util/List;)V
-
-
Method Details
-
initialize
- Mappings:
Namespace Name Mixin selector named initializeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;initialize(IILnet/minecraft/client/MinecraftClient;Z)Vintermediary method_2597Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;Z)Vofficial aLgwv;a(IILgfj;Z)V
-
reset
private void reset()- Mappings:
Namespace Name Mixin selector named resetLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;reset()Vintermediary method_2579Lnet/minecraft/class_507;method_2579()Vofficial kLgwv;k()V
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector named getTopLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getTop()Iintermediary method_64366Lnet/minecraft/class_507;method_64366()Iofficial lLgwv;l()I
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector named getLeftLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getLeft()Iintermediary method_64367Lnet/minecraft/class_507;method_64367()Iofficial mLgwv;m()I
-
getBookButtonTextures
- Mappings:
Namespace Name Mixin selector named getBookButtonTexturesLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getBookButtonTextures()Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary method_76629Lnet/minecraft/class_507;method_76629()Lnet/minecraft/class_8666;official aLgwv;a()Lgku;
-
findLeftEdge
public int findLeftEdge(int width, int backgroundWidth) - Mappings:
Namespace Name Mixin selector named findLeftEdgeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(II)Iintermediary method_2595Lnet/minecraft/class_507;method_2595(II)Iofficial aLgwv;a(II)I
-
toggleOpen
public void toggleOpen()- Mappings:
Namespace Name Mixin selector named toggleOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()Vintermediary method_2591Lnet/minecraft/class_507;method_2591()Vofficial eLgwv;e()V
-
isOpen
public boolean isOpen()- Mappings:
Namespace Name Mixin selector named isOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Zintermediary method_2605Lnet/minecraft/class_507;method_2605()Zofficial fLgwv;f()Z
-
isGuiOpen
private boolean isGuiOpen()- Mappings:
Namespace Name Mixin selector named isGuiOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isGuiOpen()Zintermediary method_36485Lnet/minecraft/class_507;method_36485()Zofficial nLgwv;n()Z
-
setOpen
protected void setOpen(boolean opened) - Mappings:
Namespace Name Mixin selector named setOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setOpen(Z)Vintermediary method_2593Lnet/minecraft/class_507;method_2593(Z)Vofficial aLgwv;a(Z)V
-
isCraftingSlot
Returns whether a slot is involved in crafting for this recipe book widget's recipes.- Returns:
- whether a slot is involved in crafting for this recipe book widget's recipes
- Mappings:
Namespace Name Mixin selector named isCraftingSlotLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isCraftingSlot(Lnet/minecraft/screen/slot/Slot;)Zintermediary method_62023Lnet/minecraft/class_507;method_62023(Lnet/minecraft/class_1735;)Zofficial aLgwv;a(Ldji;)Z
-
onMouseClick
- Mappings:
Namespace Name Mixin selector named onMouseClickLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onMouseClick(Lnet/minecraft/screen/slot/Slot;)Vintermediary method_62044Lnet/minecraft/class_507;method_62044(Lnet/minecraft/class_1735;)Vofficial bLgwv;b(Ldji;)V
-
populateAllRecipes
private void populateAllRecipes()- Mappings:
Namespace Name Mixin selector named populateAllRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;populateAllRecipes()Vintermediary method_65072Lnet/minecraft/class_507;method_65072()Vofficial oLgwv;o()V
-
populateRecipes
protected abstract void populateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder) - Mappings:
Namespace Name Mixin selector named populateRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;populateRecipes(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/recipe/RecipeFinder;)Vintermediary method_62024Lnet/minecraft/class_507;method_62024(Lnet/minecraft/class_516;Lnet/minecraft/class_9875;)Vofficial aLgwv;a(Lgwz;Lddu;)V
-
refreshResults
private void refreshResults(boolean resetCurrentPage, boolean filteringCraftable) - Mappings:
Namespace Name Mixin selector named refreshResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(ZZ)Vintermediary method_2603Lnet/minecraft/class_507;method_2603(ZZ)Vofficial aLgwv;a(ZZ)V
-
refreshTabButtons
private void refreshTabButtons(boolean filteringCraftable) - Mappings:
Namespace Name Mixin selector named refreshTabButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons(Z)Vintermediary method_2606Lnet/minecraft/class_507;method_2606(Z)Vofficial cLgwv;c(Z)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()Vintermediary method_2590Lnet/minecraft/class_507;method_2590()Vofficial hLgwv;h()V
-
refreshInputs
private void refreshInputs()- Mappings:
Namespace Name Mixin selector named refreshInputsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshInputs()Vintermediary method_2587Lnet/minecraft/class_507;method_2587()Vofficial pLgwv;p()V
-
isFilteringCraftable
private boolean isFilteringCraftable()- Mappings:
Namespace Name Mixin selector named isFilteringCraftableLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isFilteringCraftable()Zintermediary method_62045Lnet/minecraft/class_507;method_62045()Zofficial qLgwv;q()Z
-
render
- Specified by:
renderin interfaceDrawable- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLgki;a(Lgir;IIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector named drawTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/screen/slot/Slot;)Vintermediary method_2601Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_332;IILnet/minecraft/class_1735;)Vofficial aLgwv;a(Lgir;IILdji;)V
-
getToggleCraftableButtonText
- Mappings:
Namespace Name Mixin selector named getToggleCraftableButtonTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;intermediary method_17064Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;official dLgwv;d()Lyh;
-
drawGhostSlots
- Mappings:
Namespace Name Mixin selector named drawGhostSlotsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/gui/DrawContext;Z)Vintermediary method_2581Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_332;Z)Vofficial aLgwv;a(Lgir;Z)V
-
mouseClicked
Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(Lnet/minecraft/client/gui/Click;Z)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(Lnet/minecraft/class_11909;Z)Zofficial aLgmm;a(Lgzc;Z)Z
-
mouseDragged
Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(Lnet/minecraft/client/gui/Click;DD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(Lnet/minecraft/class_11909;DD)Zofficial aLgmm;a(Lgzc;DD)Z
-
select
- Mappings:
Namespace Name Mixin selector named selectLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;select(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/recipe/NetworkRecipeId;Z)Zintermediary method_62889Lnet/minecraft/class_507;method_62889(Lnet/minecraft/class_516;Lnet/minecraft/class_10298;Z)Zofficial aLgwv;a(Lgwz;Ldsa;Z)Z
-
onTabSelected
- Mappings:
Namespace Name Mixin selector named onTabSelectedLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onTabSelected(Lnet/minecraft/client/gui/widget/ButtonWidget;)Vintermediary method_76630Lnet/minecraft/class_507;method_76630(Lnet/minecraft/class_4185;)Vofficial aLgwv;a(Lgje;)V
-
setCurrentTab
- Mappings:
Namespace Name Mixin selector named setCurrentTabLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setCurrentTab(Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;)Vintermediary method_76632Lnet/minecraft/class_507;method_76632(Lnet/minecraft/class_512;)Vofficial aLgwv;a(Lgwx;)V
-
toggleFilteringCraftable
private void toggleFilteringCraftable()- Mappings:
Namespace Name Mixin selector named toggleFilteringCraftableLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Vintermediary method_2589Lnet/minecraft/class_507;method_2589()Vofficial rLgwv;r()V
-
isClickOutsideBounds
public boolean isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight) - Mappings:
Namespace Name Mixin selector named isClickOutsideBoundsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isClickOutsideBounds(DDIIII)Zintermediary method_2598Lnet/minecraft/class_507;method_2598(DDIIII)Zofficial aLgwv;a(DDIIII)Z
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgmm;a(Lgzb;)Z
-
keyReleased
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyReleasedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyReleasedLnet/minecraft/client/gui/Element;keyReleased(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(Lnet/minecraft/class_11908;)Zofficial bLgmm;b(Lgzb;)Z
-
charTyped
Callback for when a character input has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
charTypedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named charTypedLnet/minecraft/client/gui/Element;charTyped(Lnet/minecraft/client/input/CharInput;)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(Lnet/minecraft/class_11905;)Zofficial aLgmm;a(Lgyy;)Z
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.- Specified by:
isMouseOverin interfaceElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- Returns:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector named isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Zofficial a_Lgmm;a_(DD)Z
-
setFocused
public void setFocused(boolean focused) - Specified by:
setFocusedin interfaceElement- Mappings:
Namespace Name Mixin selector named setFocusedLnet/minecraft/client/gui/Element;setFocused(Z)Vintermediary method_25365Lnet/minecraft/class_364;method_25365(Z)Vofficial bLgmm;b(Z)V
-
isFocused
public boolean isFocused() -
refreshSearchResults
private void refreshSearchResults()- Mappings:
Namespace Name Mixin selector named refreshSearchResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshSearchResults()Vintermediary method_2586Lnet/minecraft/class_507;method_2586()Vofficial tLgwv;t()V
-
triggerPirateSpeakEasterEgg
- Mappings:
Namespace Name Mixin selector named triggerPirateSpeakEasterEggLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;triggerPirateSpeakEasterEgg(Ljava/lang/String;)Vintermediary method_2576Lnet/minecraft/class_507;method_2576(Ljava/lang/String;)Vofficial aLgwv;a(Ljava/lang/String;)V
-
isWide
private boolean isWide()- Mappings:
Namespace Name Mixin selector named isWideLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Zintermediary method_2604Lnet/minecraft/class_507;method_2604()Zofficial uLgwv;u()Z
-
refresh
public void refresh()- Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refresh()Vintermediary method_2592Lnet/minecraft/class_507;method_2592()Vofficial iLgwv;i()V
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayedLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)Vintermediary method_64876Lnet/minecraft/class_507;method_64876(Lnet/minecraft/class_10298;)Vofficial aLgwv;a(Ldsa;)V
-
onCraftFailed
- Mappings:
Namespace Name Mixin selector named onCraftFailedLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onCraftFailed(Lnet/minecraft/recipe/display/RecipeDisplay;)Vintermediary method_64875Lnet/minecraft/class_507;method_64875(Lnet/minecraft/class_10295;)Vofficial aLgwv;a(Ldry;)V
-
showGhostRecipe
protected abstract void showGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context) - Mappings:
Namespace Name Mixin selector named showGhostRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;Lnet/minecraft/recipe/display/RecipeDisplay;Lnet/minecraft/util/context/ContextParameterMap;)Vintermediary method_64868Lnet/minecraft/class_507;method_64868(Lnet/minecraft/class_9934;Lnet/minecraft/class_10295;Lnet/minecraft/class_10352;)Vofficial aLgwv;a(Lgwt;Ldry;Lbhx;)V
-
sendBookDataPacket
protected void sendBookDataPacket()- Mappings:
Namespace Name Mixin selector named sendBookDataPacketLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()Vintermediary method_2588Lnet/minecraft/class_507;method_2588()Vofficial jLgwv;j()V
-
getType
- Specified by:
getTypein interfaceSelectable- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;intermediary method_37018Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;official yLgpb;y()Lgpb$a;
-
appendNarrations
- Specified by:
appendNarrationsin interfaceNarratable- Mappings:
Namespace Name Mixin selector named appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vofficial bLgpe;b(Lgpd;)V
-