Class RecipeBookWidget
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- RecipeDisplayListener,- Selectable,- RecipeGridAligner<Ingredient>
- Direct Known Subclasses:
- AbstractFurnaceRecipeBookScreen
@Environment(CLIENT)
public class RecipeBookWidget
extends Object
implements RecipeGridAligner<Ingredient>, Drawable, Element, Selectable, RecipeDisplayListener
- Mappings:
- Namespace - Name - official - eyc- intermediary - net/minecraft/class_507- named - net/minecraft/client/gui/screen/recipebook/RecipeBookWidget
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprotected MinecraftClientprotected AbstractRecipeScreenHandler<?>private @Nullable RecipeGroupButtonWidgetstatic final intstatic final intprivate static final intprotected final RecipeBookGhostSlotsprivate intprivate booleanprivate booleanprivate intprivate intprivate ClientRecipeBookprivate final RecipeMatcherprivate final RecipeBookResultsprivate static final Textprivate @Nullable TextFieldWidgetprivate booleanprivate Stringprivate final List<RecipeGroupButtonWidget>protected static final Identifierprivate static final Textprivate static final Textprotected ToggleButtonWidgetFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidacceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) voidappendNarrations(NarrationMessageBuilder builder) booleancharTyped(char chr, int modifiers) Callback for when a character input has been captured.voiddrawGhostSlots(DrawContext context, int x, int y, boolean notInventory, float delta) private voiddrawGhostSlotTooltip(DrawContext context, int x, int y, int mouseX, int mouseY) voiddrawTooltip(DrawContext context, int x, int y, int mouseX, int mouseY) intfindLeftEdge(int width, int backgroundWidth) protected TextgetType()voidinitialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler) booleanisClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button) booleanprivate booleanbooleanisMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.booleanisOpen()private booleanisWide()booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleankeyReleased(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidonRecipesDisplayed(List<Recipe<?>> recipes) voidrefresh()private voidprivate voidrefreshResults(boolean resetCurrentPage) private voidprivate voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidreset()protected voidprotected voidvoidsetFocused(boolean focused) protected voidsetOpen(boolean opened) voidshowGhostRecipe(Recipe<?> recipe, List<Slot> slots) voidslotClicked(@Nullable Slot slot) private booleanvoidprivate voidtriggerPirateSpeakEasterEgg(String search) voidupdate()private voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetFocusedPath, getNavigationFocus, getNavigationPath, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.recipe.RecipeGridAligneralignRecipeToGridMethods inherited from interface net.minecraft.client.gui.SelectableisNarratable
- 
Field Details- 
TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a:Lacq;- intermediary - field_3097- Lnet/minecraft/class_507;field_3097:Lnet/minecraft/class_2960;- named - TEXTURE- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TEXTURE:Lnet/minecraft/util/Identifier;
 
- 
SEARCH_HINT_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - h- Leyc;h:Lsw;- intermediary - field_25711- Lnet/minecraft/class_507;field_25711:Lnet/minecraft/class_2561;- named - SEARCH_HINT_TEXT- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;SEARCH_HINT_TEXT:Lnet/minecraft/text/Text;
 
- 
field_32408public static final int field_32408- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leyc;b:I- intermediary - field_32408- Lnet/minecraft/class_507;field_32408:I- named - field_32408- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32408:I
 
- 
field_32409public static final int field_32409- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Leyc;c:I- intermediary - field_32409- Lnet/minecraft/class_507;field_32409:I- named - field_32409- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32409:I
 
- 
field_32410private static final int field_32410- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - i- Leyc;i:I- intermediary - field_32410- Lnet/minecraft/class_507;field_32410:I- named - field_32410- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32410:I
 
- 
TOGGLE_CRAFTABLE_RECIPES_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - j- Leyc;j:Lsw;- intermediary - field_26593- Lnet/minecraft/class_507;field_26593:Lnet/minecraft/class_2561;- named - TOGGLE_CRAFTABLE_RECIPES_TEXT- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_CRAFTABLE_RECIPES_TEXT:Lnet/minecraft/text/Text;
 
- 
TOGGLE_ALL_RECIPES_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - k- Leyc;k:Lsw;- intermediary - field_26594- Lnet/minecraft/class_507;field_26594:Lnet/minecraft/class_2561;- named - TOGGLE_ALL_RECIPES_TEXT- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_ALL_RECIPES_TEXT:Lnet/minecraft/text/Text;
 
- 
leftOffsetprivate int leftOffset- Mappings:
- Namespace - Name - Mixin selector - official - l- Leyc;l:I- intermediary - field_3102- Lnet/minecraft/class_507;field_3102:I- named - leftOffset- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:I
 
- 
parentWidthprivate int parentWidth- Mappings:
- Namespace - Name - Mixin selector - official - m- Leyc;m:I- intermediary - field_3101- Lnet/minecraft/class_507;field_3101:I- named - parentWidth- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:I
 
- 
parentHeightprivate int parentHeight- Mappings:
- Namespace - Name - Mixin selector - official - n- Leyc;n:I- intermediary - field_3100- Lnet/minecraft/class_507;field_3100:I- named - parentHeight- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentHeight:I
 
- 
ghostSlots- Mappings:
- Namespace - Name - Mixin selector - official - d- Leyc;d:Leya;- intermediary - field_3092- Lnet/minecraft/class_507;field_3092:Lnet/minecraft/class_505;- named - ghostSlots- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostSlots:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookGhostSlots;
 
- 
tabButtons- Mappings:
- Namespace - Name - Mixin selector - official - o- Leyc;o:Ljava/util/List;- intermediary - field_3094- Lnet/minecraft/class_507;field_3094:Ljava/util/List;- named - tabButtons- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabButtons:Ljava/util/List;
 
- 
currentTab- Mappings:
- Namespace - Name - Mixin selector - official - p- Leyc;p:Leye;- intermediary - field_3098- Lnet/minecraft/class_507;field_3098:Lnet/minecraft/class_512;- named - currentTab- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;currentTab:Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;
 
- 
toggleCraftableButton- Mappings:
- Namespace - Name - Mixin selector - official - e- Leyc;e:Leqj;- intermediary - field_3088- Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_361;- named - toggleCraftableButton- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
 
- 
craftingScreenHandler- Mappings:
- Namespace - Name - Mixin selector - official - f- Leyc;f:Lccp;- intermediary - field_3095- Lnet/minecraft/class_507;field_3095:Lnet/minecraft/class_1729;- named - craftingScreenHandler- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
 
- 
client- Mappings:
- Namespace - Name - Mixin selector - official - g- Leyc;g:Lenn;- intermediary - field_3091- Lnet/minecraft/class_507;field_3091:Lnet/minecraft/class_310;- named - client- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;client:Lnet/minecraft/client/MinecraftClient;
 
- 
searchField- Mappings:
- Namespace - Name - Mixin selector - official - q- Leyc;q:Lepr;- intermediary - field_3089- Lnet/minecraft/class_507;field_3089:Lnet/minecraft/class_342;- named - searchField- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
 
- 
searchText- Mappings:
- Namespace - Name - Mixin selector - official - r- Leyc;r:Ljava/lang/String;- intermediary - field_3099- Lnet/minecraft/class_507;field_3099:Ljava/lang/String;- named - searchText- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchText:Ljava/lang/String;
 
- 
recipeBook- Mappings:
- Namespace - Name - Mixin selector - official - s- Leyc;s:Lenb;- intermediary - field_3096- Lnet/minecraft/class_507;field_3096:Lnet/minecraft/class_299;- named - recipeBook- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
 
- 
recipesArea- Mappings:
- Namespace - Name - Mixin selector - official - t- Leyc;t:Leyd;- intermediary - field_3086- Lnet/minecraft/class_507;field_3086:Lnet/minecraft/class_513;- named - recipesArea- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipesArea:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;
 
- 
recipeFinder- Mappings:
- Namespace - Name - Mixin selector - official - u- Leyc;u:Lbys;- intermediary - field_3090- Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_1662;- named - recipeFinder- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeMatcher;
 
- 
cachedInvChangeCountprivate int cachedInvChangeCount- Mappings:
- Namespace - Name - Mixin selector - official - v- Leyc;v:I- intermediary - field_3093- Lnet/minecraft/class_507;field_3093:I- named - cachedInvChangeCount- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:I
 
- 
searchingprivate boolean searching- Mappings:
- Namespace - Name - Mixin selector - official - w- Leyc;w:Z- intermediary - field_3087- Lnet/minecraft/class_507;field_3087:Z- named - searching- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching:Z
 
- 
openprivate boolean open- Mappings:
- Namespace - Name - Mixin selector - official - x- Leyc;x:Z- intermediary - field_33679- Lnet/minecraft/class_507;field_33679:Z- named - open- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;open:Z
 
- 
narrowprivate boolean narrow- Mappings:
- Namespace - Name - Mixin selector - official - y- Leyc;y:Z- intermediary - field_34001- Lnet/minecraft/class_507;field_34001:Z- named - narrow- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;narrow:Z
 
 
- 
- 
Constructor Details- 
RecipeBookWidgetpublic RecipeBookWidget()
 
- 
- 
Method Details- 
initializepublic void initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(IILenn;ZLccp;)V- intermediary - method_2597- Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;ZLnet/minecraft/class_1729;)V- named - initialize- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;initialize(IILnet/minecraft/client/MinecraftClient;ZLnet/minecraft/screen/AbstractRecipeScreenHandler;)V
 
- 
resetpublic void reset()- Mappings:
- Namespace - Name - Mixin selector - official - e- Leyc;e()V- intermediary - method_2579- Lnet/minecraft/class_507;method_2579()V- named - reset- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;reset()V
 
- 
updateTooltipprivate void updateTooltip()- Mappings:
- Namespace - Name - Mixin selector - official - b- Leyc;b()V- intermediary - method_47429- Lnet/minecraft/class_507;method_47429()V- named - updateTooltip- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;updateTooltip()V
 
- 
setBookButtonTextureprotected void setBookButtonTexture()- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a()V- intermediary - method_2585- Lnet/minecraft/class_507;method_2585()V- named - setBookButtonTexture- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()V
 
- 
findLeftEdgepublic int findLeftEdge(int width, int backgroundWidth) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(II)I- intermediary - method_2595- Lnet/minecraft/class_507;method_2595(II)I- named - findLeftEdge- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(II)I
 
- 
toggleOpenpublic void toggleOpen()- Mappings:
- Namespace - Name - Mixin selector - official - f- Leyc;f()V- intermediary - method_2591- Lnet/minecraft/class_507;method_2591()V- named - toggleOpen- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()V
 
- 
isOpenpublic boolean isOpen()- Mappings:
- Namespace - Name - Mixin selector - official - g- Leyc;g()Z- intermediary - method_2605- Lnet/minecraft/class_507;method_2605()Z- named - isOpen- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Z
 
- 
isGuiOpenprivate boolean isGuiOpen()- Mappings:
- Namespace - Name - Mixin selector - official - k- Leyc;k()Z- intermediary - method_36485- Lnet/minecraft/class_507;method_36485()Z- named - isGuiOpen- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isGuiOpen()Z
 
- 
setOpenprotected void setOpen(boolean opened) - Mappings:
- Namespace - Name - Mixin selector - official - b- Leyc;b(Z)V- intermediary - method_2593- Lnet/minecraft/class_507;method_2593(Z)V- named - setOpen- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setOpen(Z)V
 
- 
slotClicked- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(Lccx;)V- intermediary - method_2600- Lnet/minecraft/class_507;method_2600(Lnet/minecraft/class_1735;)V- named - slotClicked- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;slotClicked(Lnet/minecraft/screen/slot/Slot;)V
 
- 
refreshResultsprivate void refreshResults(boolean resetCurrentPage) - Mappings:
- Namespace - Name - Mixin selector - official - c- Leyc;c(Z)V- intermediary - method_2603- Lnet/minecraft/class_507;method_2603(Z)V- named - refreshResults- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(Z)V
 
- 
refreshTabButtonsprivate void refreshTabButtons()- Mappings:
- Namespace - Name - Mixin selector - official - l- Leyc;l()V- intermediary - method_2606- Lnet/minecraft/class_507;method_2606()V- named - refreshTabButtons- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons()V
 
- 
updatepublic void update()- Mappings:
- Namespace - Name - Mixin selector - official - h- Leyc;h()V- intermediary - method_2590- Lnet/minecraft/class_507;method_2590()V- named - update- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()V
 
- 
refreshInputsprivate void refreshInputs()- Mappings:
- Namespace - Name - Mixin selector - official - m- Leyc;m()V- intermediary - method_2587- Lnet/minecraft/class_507;method_2587()V- named - refreshInputs- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshInputs()V
 
- 
render- Specified by:
- renderin interface- Drawable
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
drawTooltip- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(Leox;IIII)V- intermediary - method_2601- Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_332;IIII)V- named - drawTooltip- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
 
- 
getToggleCraftableButtonText- Mappings:
- Namespace - Name - Mixin selector - official - d- Leyc;d()Lsw;- intermediary - method_17064- Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;- named - getToggleCraftableButtonText- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;
 
- 
drawGhostSlotTooltip- Mappings:
- Namespace - Name - Mixin selector - official - b- Leyc;b(Leox;IIII)V- intermediary - method_2602- Lnet/minecraft/class_507;method_2602(Lnet/minecraft/class_332;IIII)V- named - drawGhostSlotTooltip- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlotTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
 
- 
drawGhostSlots- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(Leox;IIZF)V- intermediary - method_2581- Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_332;IIZF)V- named - drawGhostSlots- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/gui/DrawContext;IIZF)V
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseClickedin interface- Element
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
 
- 
toggleFilteringCraftableprivate boolean toggleFilteringCraftable()- Mappings:
- Namespace - Name - Mixin selector - official - n- Leyc;n()Z- intermediary - method_2589- Lnet/minecraft/class_507;method_2589()Z- named - toggleFilteringCraftable- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Z
 
- 
isClickOutsideBoundspublic boolean isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(DDIIIII)Z- intermediary - method_2598- Lnet/minecraft/class_507;method_2598(DDIIIII)Z- named - isClickOutsideBounds- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isClickOutsideBounds(DDIIIII)Z
 
- 
keyPressedpublic boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
- keyPressedin interface- Element
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
keyReleasedpublic boolean keyReleased(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
- keyReleasedin interface- Element
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leqt;b(III)Z- intermediary - method_16803- Lnet/minecraft/class_364;method_16803(III)Z- named - keyReleased- Lnet/minecraft/client/gui/Element;keyReleased(III)Z
 
- 
charTypedpublic boolean charTyped(char chr, int modifiers) Callback for when a character input has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
- charTypedin interface- Element
- Parameters:
- chr- the captured character
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(CI)Z- intermediary - method_25400- Lnet/minecraft/class_364;method_25400(CI)Z- named - charTyped- Lnet/minecraft/client/gui/Element;charTyped(CI)Z
 
- 
isMouseOverpublic boolean isMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.- Specified by:
- isMouseOverin interface- Element
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- Returns:
- trueif the mouse is within the bound of the element, otherwise- false
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Leqt;a_(DD)Z- intermediary - method_25405- Lnet/minecraft/class_364;method_25405(DD)Z- named - isMouseOver- Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
 
- 
setFocusedpublic void setFocused(boolean focused) - Specified by:
- setFocusedin interface- Element
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Leqt;b_(Z)V- intermediary - method_25365- Lnet/minecraft/class_364;method_25365(Z)V- named - setFocused- Lnet/minecraft/client/gui/Element;setFocused(Z)V
 
- 
isFocusedpublic boolean isFocused()
- 
refreshSearchResultsprivate void refreshSearchResults()- Mappings:
- Namespace - Name - Mixin selector - official - p- Leyc;p()V- intermediary - method_2586- Lnet/minecraft/class_507;method_2586()V- named - refreshSearchResults- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshSearchResults()V
 
- 
triggerPirateSpeakEasterEgg- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(Ljava/lang/String;)V- intermediary - method_2576- Lnet/minecraft/class_507;method_2576(Ljava/lang/String;)V- named - triggerPirateSpeakEasterEgg- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;triggerPirateSpeakEasterEgg(Ljava/lang/String;)V
 
- 
isWideprivate boolean isWide()- Mappings:
- Namespace - Name - Mixin selector - official - r- Leyc;r()Z- intermediary - method_2604- Lnet/minecraft/class_507;method_2604()Z- named - isWide- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Z
 
- 
refreshpublic void refresh()- Mappings:
- Namespace - Name - Mixin selector - official - i- Leyc;i()V- intermediary - method_2592- Lnet/minecraft/class_507;method_2592()V- named - refresh- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refresh()V
 
- 
onRecipesDisplayed- Specified by:
- onRecipesDisplayedin interface- RecipeDisplayListener
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyh;a(Ljava/util/List;)V- intermediary - method_2646- Lnet/minecraft/class_515;method_2646(Ljava/util/List;)V- named - onRecipesDisplayed- Lnet/minecraft/client/gui/screen/recipebook/RecipeDisplayListener;onRecipesDisplayed(Ljava/util/List;)V
 
- 
showGhostRecipe- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyc;a(Lcjc;Ljava/util/List;)V- intermediary - method_2596- Lnet/minecraft/class_507;method_2596(Lnet/minecraft/class_1860;Ljava/util/List;)V- named - showGhostRecipe- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/recipe/Recipe;Ljava/util/List;)V
 
- 
acceptAlignedInputpublic void acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) - Specified by:
- acceptAlignedInputin interface- RecipeGridAligner<Ingredient>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacf;a(Ljava/util/Iterator;IIII)V- intermediary - method_12815- Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)V- named - acceptAlignedInput- Lnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
 
- 
sendBookDataPacketprotected void sendBookDataPacket()- Mappings:
- Namespace - Name - Mixin selector - official - j- Leyc;j()V- intermediary - method_2588- Lnet/minecraft/class_507;method_2588()V- named - sendBookDataPacket- Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()V
 
- 
getType- Specified by:
- getTypein interface- Selectable
- Mappings:
- Namespace - Name - Mixin selector - official - q- Lesn;q()Lesn$a;- intermediary - method_37018- Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;- named - getType- Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
 
- 
appendNarrations- Specified by:
- appendNarrationsin interface- Narratable
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lesq;b(Lesp;)V- intermediary - method_37020- Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V- named - appendNarrations- Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
 
 
-