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/RecipeBookWidget
intermediary net/minecraft/class_507
official fru
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ButtonTextures
private int
protected MinecraftClient
protected AbstractRecipeScreenHandler
<?, ?> private @Nullable RecipeGroupButtonWidget
static final int
static final int
private static final int
private static final ButtonTextures
protected final RecipeBookGhostSlots
private int
private boolean
private boolean
private int
private int
private ClientRecipeBook
private final RecipeMatcher
private final RecipeBookResults
private static final Text
private @Nullable TextFieldWidget
private boolean
private String
private final List
<RecipeGroupButtonWidget> protected static final Identifier
private static final Text
private static final Text
protected ToggleButtonWidget
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptAlignedInput
(Ingredient ingredient, int int2, int int3, int int4, int int5) void
appendNarrations
(NarrationMessageBuilder builder) boolean
charTyped
(char chr, int modifiers) Callback for when a character input has been captured.void
drawGhostSlots
(DrawContext context, int x, int y, boolean notInventory, float delta) private void
drawGhostSlotTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY) void
drawTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY) int
findLeftEdge
(int width, int backgroundWidth) protected Text
getType()
void
initialize
(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?, ?> craftingScreenHandler) boolean
isClickOutsideBounds
(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button) boolean
private boolean
boolean
isMouseOver
(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.boolean
isOpen()
private boolean
isWide()
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.boolean
keyReleased
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.void
onRecipesDisplayed
(List<RecipeEntry<?>> recipes) void
refresh()
private void
private void
refreshResults
(boolean resetCurrentPage) private void
private void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
reset()
protected void
protected void
void
setFocused
(boolean focused) protected void
setOpen
(boolean opened) void
showGhostRecipe
(RecipeEntry<?> recipe, List<Slot> slots) void
slotClicked
(@Nullable Slot slot) private boolean
void
private void
triggerPirateSpeakEasterEgg
(String search) void
update()
private void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getFocusedPath, getNavigationFocus, getNavigationPath, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
Methods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named BUTTON_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45550
Lnet/minecraft/class_507;field_45550:Lnet/minecraft/class_8666;
official a
Lfru;a:Lfjt;
-
FILTER_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named FILTER_BUTTON_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;FILTER_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45551
Lnet/minecraft/class_507;field_45551:Lnet/minecraft/class_8666;
official i
Lfru;i:Lfjt;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_3097
Lnet/minecraft/class_507;field_3097:Lnet/minecraft/class_2960;
official b
Lfru;b:Lakq;
-
SEARCH_HINT_TEXT
- Mappings:
Namespace Name Mixin selector named SEARCH_HINT_TEXT
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;SEARCH_HINT_TEXT:Lnet/minecraft/text/Text;
intermediary field_25711
Lnet/minecraft/class_507;field_25711:Lnet/minecraft/class_2561;
official j
Lfru;j:Lwy;
-
field_32408
public static final int field_32408- See Also:
- Mappings:
Namespace Name Mixin selector named field_32408
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32408:I
intermediary field_32408
Lnet/minecraft/class_507;field_32408:I
official c
Lfru;c:I
-
field_32409
public static final int field_32409- See Also:
- Mappings:
Namespace Name Mixin selector named field_32409
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32409:I
intermediary field_32409
Lnet/minecraft/class_507;field_32409:I
official d
Lfru;d:I
-
field_32410
private static final int field_32410- See Also:
- Mappings:
Namespace Name Mixin selector named field_32410
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32410:I
intermediary field_32410
Lnet/minecraft/class_507;field_32410:I
official k
Lfru;k:I
-
TOGGLE_CRAFTABLE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_CRAFTABLE_RECIPES_TEXT
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_CRAFTABLE_RECIPES_TEXT:Lnet/minecraft/text/Text;
intermediary field_26593
Lnet/minecraft/class_507;field_26593:Lnet/minecraft/class_2561;
official l
Lfru;l:Lwy;
-
TOGGLE_ALL_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_ALL_RECIPES_TEXT
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_ALL_RECIPES_TEXT:Lnet/minecraft/text/Text;
intermediary field_26594
Lnet/minecraft/class_507;field_26594:Lnet/minecraft/class_2561;
official m
Lfru;m:Lwy;
-
leftOffset
private int leftOffset- Mappings:
Namespace Name Mixin selector named leftOffset
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:I
intermediary field_3102
Lnet/minecraft/class_507;field_3102:I
official n
Lfru;n:I
-
parentWidth
private int parentWidth- Mappings:
Namespace Name Mixin selector named parentWidth
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:I
intermediary field_3101
Lnet/minecraft/class_507;field_3101:I
official o
Lfru;o:I
-
parentHeight
private int parentHeight- Mappings:
Namespace Name Mixin selector named parentHeight
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentHeight:I
intermediary field_3100
Lnet/minecraft/class_507;field_3100:I
official p
Lfru;p:I
-
ghostSlots
- Mappings:
Namespace Name Mixin selector named ghostSlots
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostSlots:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookGhostSlots;
intermediary field_3092
Lnet/minecraft/class_507;field_3092:Lnet/minecraft/class_505;
official e
Lfru;e:Lfrs;
-
tabButtons
- Mappings:
Namespace Name Mixin selector named tabButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabButtons:Ljava/util/List;
intermediary field_3094
Lnet/minecraft/class_507;field_3094:Ljava/util/List;
official q
Lfru;q:Ljava/util/List;
-
currentTab
- Mappings:
Namespace Name Mixin selector named currentTab
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;currentTab:Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;
intermediary field_3098
Lnet/minecraft/class_507;field_3098:Lnet/minecraft/class_512;
official r
Lfru;r:Lfrw;
-
toggleCraftableButton
- Mappings:
Namespace Name Mixin selector named toggleCraftableButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
intermediary field_3088
Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_361;
official f
Lfru;f:Lfjm;
-
craftingScreenHandler
- Mappings:
Namespace Name Mixin selector named craftingScreenHandler
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
intermediary field_3095
Lnet/minecraft/class_507;field_3095:Lnet/minecraft/class_1729;
official g
Lfru;g:Lcrg;
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_3091
Lnet/minecraft/class_507;field_3091:Lnet/minecraft/class_310;
official h
Lfru;h:Lfgi;
-
searchField
- Mappings:
Namespace Name Mixin selector named searchField
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_3089
Lnet/minecraft/class_507;field_3089:Lnet/minecraft/class_342;
official s
Lfru;s:Lfip;
-
searchText
- Mappings:
Namespace Name Mixin selector named searchText
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchText:Ljava/lang/String;
intermediary field_3099
Lnet/minecraft/class_507;field_3099:Ljava/lang/String;
official u
Lfru;u:Ljava/lang/String;
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBook
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
intermediary field_3096
Lnet/minecraft/class_507;field_3096:Lnet/minecraft/class_299;
official v
Lfru;v:Lffu;
-
recipesArea
- Mappings:
Namespace Name Mixin selector named recipesArea
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipesArea:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;
intermediary field_3086
Lnet/minecraft/class_507;field_3086:Lnet/minecraft/class_513;
official w
Lfru;w:Lfrv;
-
recipeFinder
- Mappings:
Namespace Name Mixin selector named recipeFinder
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeMatcher;
intermediary field_3090
Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_1662;
official x
Lfru;x:Lcmz;
-
cachedInvChangeCount
private int cachedInvChangeCount- Mappings:
Namespace Name Mixin selector named cachedInvChangeCount
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:I
intermediary field_3093
Lnet/minecraft/class_507;field_3093:I
official y
Lfru;y:I
-
searching
private boolean searching- Mappings:
Namespace Name Mixin selector named searching
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching:Z
intermediary field_3087
Lnet/minecraft/class_507;field_3087:Z
official z
Lfru;z:Z
-
open
private boolean open- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;open:Z
intermediary field_33679
Lnet/minecraft/class_507;field_33679:Z
official A
Lfru;A:Z
-
narrow
private boolean narrow- Mappings:
Namespace Name Mixin selector named narrow
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;narrow:Z
intermediary field_34001
Lnet/minecraft/class_507;field_34001:Z
official B
Lfru;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 initialize
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;initialize(IILnet/minecraft/client/MinecraftClient;ZLnet/minecraft/screen/AbstractRecipeScreenHandler;)V
intermediary method_2597
Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;ZLnet/minecraft/class_1729;)V
official a
Lfru;a(IILfgi;ZLcrg;)V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;reset()V
intermediary method_2579
Lnet/minecraft/class_507;method_2579()V
official d
Lfru;d()V
-
updateTooltip
private void updateTooltip()- Mappings:
Namespace Name Mixin selector named updateTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;updateTooltip()V
intermediary method_47429
Lnet/minecraft/class_507;method_47429()V
official b
Lfru;b()V
-
setBookButtonTexture
protected void setBookButtonTexture()- Mappings:
Namespace Name Mixin selector named setBookButtonTexture
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()V
intermediary method_2585
Lnet/minecraft/class_507;method_2585()V
official a
Lfru;a()V
-
findLeftEdge
public int findLeftEdge(int width, int backgroundWidth) - Mappings:
Namespace Name Mixin selector named findLeftEdge
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(II)I
intermediary method_2595
Lnet/minecraft/class_507;method_2595(II)I
official a
Lfru;a(II)I
-
toggleOpen
public void toggleOpen()- Mappings:
Namespace Name Mixin selector named toggleOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()V
intermediary method_2591
Lnet/minecraft/class_507;method_2591()V
official e
Lfru;e()V
-
isOpen
public boolean isOpen()- Mappings:
Namespace Name Mixin selector named isOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Z
intermediary method_2605
Lnet/minecraft/class_507;method_2605()Z
official f
Lfru;f()Z
-
isGuiOpen
private boolean isGuiOpen()- Mappings:
Namespace Name Mixin selector named isGuiOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isGuiOpen()Z
intermediary method_36485
Lnet/minecraft/class_507;method_36485()Z
official k
Lfru;k()Z
-
setOpen
protected void setOpen(boolean opened) - Mappings:
Namespace Name Mixin selector named setOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setOpen(Z)V
intermediary method_2593
Lnet/minecraft/class_507;method_2593(Z)V
official b
Lfru;b(Z)V
-
slotClicked
- Mappings:
Namespace Name Mixin selector named slotClicked
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;slotClicked(Lnet/minecraft/screen/slot/Slot;)V
intermediary method_2600
Lnet/minecraft/class_507;method_2600(Lnet/minecraft/class_1735;)V
official a
Lfru;a(Lcro;)V
-
refreshResults
private void refreshResults(boolean resetCurrentPage) - Mappings:
Namespace Name Mixin selector named refreshResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(Z)V
intermediary method_2603
Lnet/minecraft/class_507;method_2603(Z)V
official c
Lfru;c(Z)V
-
refreshTabButtons
private void refreshTabButtons()- Mappings:
Namespace Name Mixin selector named refreshTabButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons()V
intermediary method_2606
Lnet/minecraft/class_507;method_2606()V
official l
Lfru;l()V
-
update
public void update()- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()V
intermediary method_2590
Lnet/minecraft/class_507;method_2590()V
official h
Lfru;h()V
-
refreshInputs
private void refreshInputs()- Mappings:
Namespace Name Mixin selector named refreshInputs
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshInputs()V
intermediary method_2587
Lnet/minecraft/class_507;method_2587()V
official m
Lfru;m()V
-
render
- Specified by:
render
in interfaceDrawable
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfjj;a(Lfht;IIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector named drawTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
intermediary method_2601
Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_332;IIII)V
official a
Lfru;a(Lfht;IIII)V
-
getToggleCraftableButtonText
- Mappings:
Namespace Name Mixin selector named getToggleCraftableButtonText
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;
intermediary method_17064
Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;
official c
Lfru;c()Lwy;
-
drawGhostSlotTooltip
- Mappings:
Namespace Name Mixin selector named drawGhostSlotTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlotTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
intermediary method_2602
Lnet/minecraft/class_507;method_2602(Lnet/minecraft/class_332;IIII)V
official b
Lfru;b(Lfht;IIII)V
-
drawGhostSlots
- Mappings:
Namespace Name Mixin selector named drawGhostSlots
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/gui/DrawContext;IIZF)V
intermediary method_2581
Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_332;IIZF)V
official a
Lfru;a(Lfht;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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
official a
Lfkc;a(DDI)Z
-
toggleFilteringCraftable
private boolean toggleFilteringCraftable()- Mappings:
Namespace Name Mixin selector named toggleFilteringCraftable
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Z
intermediary method_2589
Lnet/minecraft/class_507;method_2589()Z
official n
Lfru;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 isClickOutsideBounds
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isClickOutsideBounds(DDIIIII)Z
intermediary method_2598
Lnet/minecraft/class_507;method_2598(DDIIIII)Z
official a
Lfru;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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
official a
Lfkc;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 inGLFW
class.- Specified by:
keyReleased
in interfaceElement
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyReleased
Lnet/minecraft/client/gui/Element;keyReleased(III)Z
intermediary method_16803
Lnet/minecraft/class_364;method_16803(III)Z
official c
Lfkc;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 inGLFW
class.- Specified by:
charTyped
in interfaceElement
- Parameters:
chr
- the captured charactermodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named charTyped
Lnet/minecraft/client/gui/Element;charTyped(CI)Z
intermediary method_25400
Lnet/minecraft/class_364;method_25400(CI)Z
official a
Lfkc;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:
isMouseOver
in interfaceElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mouse- Returns:
true
if the mouse is within the bound of the element, otherwisefalse
- Mappings:
Namespace Name Mixin selector named isMouseOver
Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
intermediary method_25405
Lnet/minecraft/class_364;method_25405(DD)Z
official c
Lfkc;c(DD)Z
-
setFocused
public void setFocused(boolean focused) - Specified by:
setFocused
in interfaceElement
- Mappings:
Namespace Name Mixin selector named setFocused
Lnet/minecraft/client/gui/Element;setFocused(Z)V
intermediary method_25365
Lnet/minecraft/class_364;method_25365(Z)V
official a
Lfkc;a(Z)V
-
isFocused
public boolean isFocused() -
refreshSearchResults
private void refreshSearchResults()- Mappings:
Namespace Name Mixin selector named refreshSearchResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshSearchResults()V
intermediary method_2586
Lnet/minecraft/class_507;method_2586()V
official o
Lfru;o()V
-
triggerPirateSpeakEasterEgg
- Mappings:
Namespace Name Mixin selector named triggerPirateSpeakEasterEgg
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;triggerPirateSpeakEasterEgg(Ljava/lang/String;)V
intermediary method_2576
Lnet/minecraft/class_507;method_2576(Ljava/lang/String;)V
official a
Lfru;a(Ljava/lang/String;)V
-
isWide
private boolean isWide()- Mappings:
Namespace Name Mixin selector named isWide
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Z
intermediary method_2604
Lnet/minecraft/class_507;method_2604()Z
official p
Lfru;p()Z
-
refresh
public void refresh()- Mappings:
Namespace Name Mixin selector named refresh
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refresh()V
intermediary method_2592
Lnet/minecraft/class_507;method_2592()V
official i
Lfru;i()V
-
onRecipesDisplayed
- Specified by:
onRecipesDisplayed
in interfaceRecipeDisplayListener
- Mappings:
Namespace Name Mixin selector named onRecipesDisplayed
Lnet/minecraft/client/gui/screen/recipebook/RecipeDisplayListener;onRecipesDisplayed(Ljava/util/List;)V
intermediary method_2646
Lnet/minecraft/class_515;method_2646(Ljava/util/List;)V
official a
Lfrz;a(Ljava/util/List;)V
-
showGhostRecipe
- Mappings:
Namespace Name Mixin selector named showGhostRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/recipe/RecipeEntry;Ljava/util/List;)V
intermediary method_2596
Lnet/minecraft/class_507;method_2596(Lnet/minecraft/class_8786;Ljava/util/List;)V
official a
Lfru;a(Lcyz;Ljava/util/List;)V
-
acceptAlignedInput
- Specified by:
acceptAlignedInput
in interfaceRecipeGridAligner<Ingredient>
- Mappings:
Namespace Name Mixin selector named acceptAlignedInput
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;acceptAlignedInput(Lnet/minecraft/recipe/Ingredient;IIII)V
intermediary method_60344
Lnet/minecraft/class_507;method_60344(Lnet/minecraft/class_1856;IIII)V
official a
Lfru;a(Lcyu;IIII)V
-
sendBookDataPacket
protected void sendBookDataPacket()- Mappings:
Namespace Name Mixin selector named sendBookDataPacket
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()V
intermediary method_2588
Lnet/minecraft/class_507;method_2588()V
official j
Lfru;j()V
-
getType
- Specified by:
getType
in interfaceSelectable
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
intermediary method_37018
Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
official u
Lfma;u()Lfma$a;
-
appendNarrations
- Specified by:
appendNarrations
in interfaceNarratable
- Mappings:
Namespace Name Mixin selector named appendNarrations
Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
intermediary method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
official b
Lfmd;b(Lfmc;)V
-