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 named net/minecraft/client/gui/screen/recipebook/RecipeBookWidgetintermediary net/minecraft/class_507official fqy
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ButtonTexturesprivate intprotected MinecraftClientprotected AbstractRecipeScreenHandler<?, ?> private @Nullable RecipeGroupButtonWidgetstatic final intstatic final intprivate static final intprivate static final ButtonTexturesprotected 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.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptAlignedInput(Ingredient ingredient, int int2, int int3, int int4, int int5) 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<RecipeEntry<?>> 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(RecipeEntry<?> recipe, List<Slot> slots) voidslotClicked(@Nullable Slot slot) private booleanvoidprivate voidtriggerPirateSpeakEasterEgg(String search) voidupdate()private voidMethods 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
getFocusedPath, getNavigationFocus, getNavigationPath, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGridMethods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
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 aLfqy;a:Lfiz;
-
FILTER_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named FILTER_BUTTON_TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;FILTER_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_45551Lnet/minecraft/class_507;field_45551:Lnet/minecraft/class_8666;official iLfqy;i:Lfiz;
-
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 bLfqy;b:Lakk;
-
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 jLfqy;j:Lwu;
-
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 cLfqy;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 dLfqy;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 kLfqy;k:I
-
TOGGLE_CRAFTABLE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_CRAFTABLE_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_CRAFTABLE_RECIPES_TEXT:Lnet/minecraft/text/Text;intermediary field_26593Lnet/minecraft/class_507;field_26593:Lnet/minecraft/class_2561;official lLfqy;l:Lwu;
-
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 mLfqy;m:Lwu;
-
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 nLfqy;n: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 oLfqy;o: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 pLfqy;p:I
-
ghostSlots
- Mappings:
Namespace Name Mixin selector named ghostSlotsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostSlots:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookGhostSlots;intermediary field_3092Lnet/minecraft/class_507;field_3092:Lnet/minecraft/class_505;official eLfqy;e:Lfqw;
-
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 qLfqy;q: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 rLfqy;r:Lfra;
-
toggleCraftableButton
- Mappings:
Namespace Name Mixin selector named toggleCraftableButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;intermediary field_3088Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_361;official fLfqy;f:Lfis;
-
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 gLfqy;g:Lcqs;
-
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 hLfqy;h:Lffn;
-
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 sLfqy;s:Lfhv;
-
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 uLfqy;u:Ljava/lang/String;
-
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 vLfqy;v:Lffa;
-
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 wLfqy;w:Lfqz;
-
recipeFinder
- Mappings:
Namespace Name Mixin selector named recipeFinderLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeMatcher;intermediary field_3090Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_1662;official xLfqy;x:Lcml;
-
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 yLfqy;y: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 zLfqy;z: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 ALfqy;A: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 BLfqy;B:Z
-
-
Constructor Details
-
RecipeBookWidget
public RecipeBookWidget()
-
-
Method Details
-
initialize
public void initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?, ?> craftingScreenHandler) - Mappings:
Namespace Name Mixin selector named initializeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;initialize(IILnet/minecraft/client/MinecraftClient;ZLnet/minecraft/screen/AbstractRecipeScreenHandler;)Vintermediary method_2597Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;ZLnet/minecraft/class_1729;)Vofficial aLfqy;a(IILffn;ZLcqs;)V
-
reset
public 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 dLfqy;d()V
-
updateTooltip
private void updateTooltip()- Mappings:
Namespace Name Mixin selector named updateTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;updateTooltip()Vintermediary method_47429Lnet/minecraft/class_507;method_47429()Vofficial bLfqy;b()V
-
setBookButtonTexture
protected void setBookButtonTexture()- Mappings:
Namespace Name Mixin selector named setBookButtonTextureLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()Vintermediary method_2585Lnet/minecraft/class_507;method_2585()Vofficial aLfqy;a()V
-
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 aLfqy;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 eLfqy;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 fLfqy;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 kLfqy;k()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 bLfqy;b(Z)V
-
slotClicked
- Mappings:
Namespace Name Mixin selector named slotClickedLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;slotClicked(Lnet/minecraft/screen/slot/Slot;)Vintermediary method_2600Lnet/minecraft/class_507;method_2600(Lnet/minecraft/class_1735;)Vofficial aLfqy;a(Lcra;)V
-
refreshResults
private void refreshResults(boolean resetCurrentPage) - Mappings:
Namespace Name Mixin selector named refreshResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(Z)Vintermediary method_2603Lnet/minecraft/class_507;method_2603(Z)Vofficial cLfqy;c(Z)V
-
refreshTabButtons
private void refreshTabButtons()- Mappings:
Namespace Name Mixin selector named refreshTabButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons()Vintermediary method_2606Lnet/minecraft/class_507;method_2606()Vofficial lLfqy;l()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 hLfqy;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 mLfqy;m()V
-
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 aLfip;a(Lfgz;IIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector named drawTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_2601Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_332;IIII)Vofficial aLfqy;a(Lfgz;IIII)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 cLfqy;c()Lwu;
-
drawGhostSlotTooltip
- Mappings:
Namespace Name Mixin selector named drawGhostSlotTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlotTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_2602Lnet/minecraft/class_507;method_2602(Lnet/minecraft/class_332;IIII)Vofficial bLfqy;b(Lfgz;IIII)V
-
drawGhostSlots
- Mappings:
Namespace Name Mixin selector named drawGhostSlotsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_2581Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_332;IIZF)Vofficial aLfqy;a(Lfgz;IIZF)V
-
mouseClicked
public 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 interfaceElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfji;a(DDI)Z
-
toggleFilteringCraftable
private boolean toggleFilteringCraftable()- Mappings:
Namespace Name Mixin selector named toggleFilteringCraftableLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Zintermediary method_2589Lnet/minecraft/class_507;method_2589()Zofficial nLfqy;n()Z
-
isClickOutsideBounds
public boolean isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button) - Mappings:
Namespace Name Mixin selector named isClickOutsideBoundsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isClickOutsideBounds(DDIIIII)Zintermediary method_2598Lnet/minecraft/class_507;method_2598(DDIIIII)Zofficial aLfqy;a(DDIIIII)Z
-
keyPressed
public 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 interfaceElement- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfji;a(III)Z
-
keyReleased
public 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 interfaceElement- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyReleasedLnet/minecraft/client/gui/Element;keyReleased(III)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(III)Zofficial cLfji;c(III)Z
-
charTyped
public 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 interfaceElement- Parameters:
chr- the captured charactermodifiers- 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 named charTypedLnet/minecraft/client/gui/Element;charTyped(CI)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(CI)Zofficial aLfji;a(CI)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 cLfji;c(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 aLfji;a(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 oLfqy;o()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 aLfqy;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 pLfqy;p()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 iLfqy;i()V
-
onRecipesDisplayed
- Specified by:
onRecipesDisplayedin interfaceRecipeDisplayListener- Mappings:
Namespace Name Mixin selector named onRecipesDisplayedLnet/minecraft/client/gui/screen/recipebook/RecipeDisplayListener;onRecipesDisplayed(Ljava/util/List;)Vintermediary method_2646Lnet/minecraft/class_515;method_2646(Ljava/util/List;)Vofficial aLfrd;a(Ljava/util/List;)V
-
showGhostRecipe
- Mappings:
Namespace Name Mixin selector named showGhostRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/recipe/RecipeEntry;Ljava/util/List;)Vintermediary method_2596Lnet/minecraft/class_507;method_2596(Lnet/minecraft/class_8786;Ljava/util/List;)Vofficial aLfqy;a(Lcyi;Ljava/util/List;)V
-
acceptAlignedInput
- Specified by:
acceptAlignedInputin interfaceRecipeGridAligner<Ingredient>- Mappings:
Namespace Name Mixin selector named acceptAlignedInputLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;acceptAlignedInput(Lnet/minecraft/recipe/Ingredient;IIII)Vintermediary method_60344Lnet/minecraft/class_507;method_60344(Lnet/minecraft/class_1856;IIII)Vofficial aLfqy;a(Lcyd;IIII)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 jLfqy;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 uLflg;u()Lflg$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 bLflj;b(Lfli;)V
-