Class RecipeBookWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
- All Implemented Interfaces:
Drawable
,Element
,RecipeDisplayListener
,RecipeGridAligner<Ingredient>
- Direct Known Subclasses:
AbstractFurnaceRecipeBookScreen
@Environment(CLIENT) public class RecipeBookWidget extends DrawableHelper implements Drawable, Element, RecipeDisplayListener, RecipeGridAligner<Ingredient>
- Mappings:
Namespace Name official dyd
intermediary net/minecraft/class_507
named net/minecraft/client/gui/screen/recipebook/RecipeBookWidget
-
Field Summary
Fields Modifier and Type Field Description private int
cachedInvChangeCount
protected MinecraftClient
client
protected AbstractRecipeScreenHandler<?>
craftingScreenHandler
private RecipeGroupButtonWidget
currentTab
protected RecipeBookGhostSlots
ghostSlots
private int
leftOffset
private int
parentHeight
private int
parentWidth
private ClientRecipeBook
recipeBook
private RecipeFinder
recipeFinder
private RecipeBookResults
recipesArea
private static Text
SEARCH_HINT_TEXT
private TextFieldWidget
searchField
private boolean
searching
private String
searchText
private List<RecipeGroupButtonWidget>
tabButtons
protected static Identifier
TEXTURE
private static Text
TOGGLE_ALL_RECIPES_TEXT
private static Text
TOGGLE_CRAFTABLE_RECIPES_TEXT
protected ToggleButtonWidget
toggleCraftableButton
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description RecipeBookWidget()
-
Method Summary
Modifier and Type Method Description void
acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)
boolean
changeFocus(boolean lookForwards)
Changes the focusing element by cycling to the next/previous element.boolean
charTyped(char chr, int modifiers)
Callback for when a character input has been captured.void
close()
void
drawGhostSlots(MatrixStack matrices, int int2, int int3, boolean bool, float float2)
private void
drawGhostSlotTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)
void
drawTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)
int
findLeftEdge(boolean narrow, int width, int parentWidth)
private Text
getCraftableButtonText()
protected Text
getToggleCraftableButtonText()
void
initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler)
boolean
isClickOutsideBounds(double double2, double double3, int int2, int int3, int int4, int int5, int int6)
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<Recipe<?>> recipes)
void
refresh()
private void
refreshInputs()
private void
refreshResults(boolean resetCurrentPage)
private void
refreshSearchResults()
private void
refreshTabButtons()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
reset(boolean narrow)
protected void
sendBookDataPacket()
protected void
setBookButtonTexture()
protected void
setOpen(boolean opened)
void
showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
void
slotClicked(Slot slot)
private boolean
toggleFilteringCraftable()
void
toggleOpen()
private void
triggerPirateSpeakEasterEgg(String string)
void
update()
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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
mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Ldyd;a:Lwb;
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 i
Ldyd;i:Loi;
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;
-
TOGGLE_CRAFTABLE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector official j
Ldyd;j:Loi;
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
Ldyd;k:Loi;
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;
-
leftOffset
private int leftOffset- Mappings:
Namespace Name Mixin selector official l
Ldyd;l:I
intermediary field_3102
Lnet/minecraft/class_507;field_3102:I
named leftOffset
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:I
-
parentWidth
private int parentWidth- Mappings:
Namespace Name Mixin selector official m
Ldyd;m:I
intermediary field_3101
Lnet/minecraft/class_507;field_3101:I
named parentWidth
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:I
-
parentHeight
private int parentHeight- Mappings:
Namespace Name Mixin selector official n
Ldyd;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 b
Ldyd;b:Ldyb;
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
Ldyd;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
Ldyd;p:Ldyf;
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 c
Ldyd;c:Ldsl;
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 d
Ldyd;d:Lbkz;
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 e
Ldyd;e:Ldqk;
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
Ldyd;q:Ldsc;
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
Ldyd;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
Ldyd;s:Ldpx;
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
Ldyd;t:Ldye;
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
Ldyd;u:Lbhn;
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/RecipeFinder;
-
cachedInvChangeCount
private int cachedInvChangeCount- Mappings:
Namespace Name Mixin selector official v
Ldyd;v:I
intermediary field_3093
Lnet/minecraft/class_507;field_3093:I
named cachedInvChangeCount
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:I
-
searching
private boolean searching- Mappings:
Namespace Name Mixin selector official w
Ldyd;w:Z
intermediary field_3087
Lnet/minecraft/class_507;field_3087:Z
named searching
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching: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 official a
Ldyd;a(IILdqk;ZLbkz;)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
-
reset
public void reset(boolean narrow)- Mappings:
Namespace Name Mixin selector official a
Ldyd;a(Z)V
intermediary method_2579
Lnet/minecraft/class_507;method_2579(Z)V
named reset
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;reset(Z)V
-
changeFocus
public boolean changeFocus(boolean lookForwards)Changes the focusing element by cycling to the next/previous element. This action is done typically when the user has pressed the 'Tab' or 'Ctrl+Tab' key.- Specified by:
changeFocus
in interfaceElement
- Parameters:
lookForwards
-true
to cycle forwards, otherwise cycle backwards- Returns:
true
to indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official c_
Ldst;c_(Z)Z
intermediary method_25407
Lnet/minecraft/class_364;method_25407(Z)Z
named changeFocus
Lnet/minecraft/client/gui/Element;changeFocus(Z)Z
-
setBookButtonTexture
protected void setBookButtonTexture()- Mappings:
Namespace Name Mixin selector official a
Ldyd;a()V
intermediary method_2585
Lnet/minecraft/class_507;method_2585()V
named setBookButtonTexture
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()V
-
close
public void close()- Mappings:
Namespace Name Mixin selector official d
Ldyd;d()V
intermediary method_2607
Lnet/minecraft/class_507;method_2607()V
named close
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;close()V
-
findLeftEdge
public int findLeftEdge(boolean narrow, int width, int parentWidth)- Mappings:
Namespace Name Mixin selector official a
Ldyd;a(ZII)I
intermediary method_2595
Lnet/minecraft/class_507;method_2595(ZII)I
named findLeftEdge
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(ZII)I
-
toggleOpen
public void toggleOpen()- Mappings:
Namespace Name Mixin selector official e
Ldyd;e()V
intermediary method_2591
Lnet/minecraft/class_507;method_2591()V
named toggleOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()V
-
isOpen
public boolean isOpen()- Mappings:
Namespace Name Mixin selector official f
Ldyd;f()Z
intermediary method_2605
Lnet/minecraft/class_507;method_2605()Z
named isOpen
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Z
-
setOpen
protected void setOpen(boolean opened)- Mappings:
Namespace Name Mixin selector official c
Ldyd;c(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
Ldyd;a(Lblh;)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
-
refreshResults
private void refreshResults(boolean resetCurrentPage)- Mappings:
Namespace Name Mixin selector official d
Ldyd;d(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
-
refreshTabButtons
private void refreshTabButtons()- Mappings:
Namespace Name Mixin selector official b
Ldyd;b()V
intermediary method_2606
Lnet/minecraft/class_507;method_2606()V
named refreshTabButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons()V
-
update
public void update()- Mappings:
Namespace Name Mixin selector official g
Ldyd;g()V
intermediary method_2590
Lnet/minecraft/class_507;method_2590()V
named update
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()V
-
refreshInputs
private void refreshInputs()- Mappings:
Namespace Name Mixin selector official j
Ldyd;j()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:
render
in interfaceDrawable
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector official c
Ldyd;c(Ldlr;IIII)V
intermediary method_2601
Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_4587;IIII)V
named drawTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
getCraftableButtonText
- Mappings:
Namespace Name Mixin selector official k
Ldyd;k()Loi;
intermediary method_2599
Lnet/minecraft/class_507;method_2599()Lnet/minecraft/class_2561;
named getCraftableButtonText
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getCraftableButtonText()Lnet/minecraft/text/Text;
-
getToggleCraftableButtonText
- Mappings:
Namespace Name Mixin selector official c
Ldyd;c()Loi;
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 d
Ldyd;d(Ldlr;IIII)V
intermediary method_2602
Lnet/minecraft/class_507;method_2602(Lnet/minecraft/class_4587;IIII)V
named drawGhostSlotTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlotTooltip(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
drawGhostSlots
- Mappings:
Namespace Name Mixin selector official a
Ldyd;a(Ldlr;IIZF)V
intermediary method_2581
Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_4587;IIZF)V
named drawGhostSlots
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/util/math/MatrixStack;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:
Mouse.onMouseButton(long, int, int, int)
,GLFW.GLFW_MOUSE_BUTTON_1
- Mappings:
Namespace Name Mixin selector official a
Ldst;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
toggleFilteringCraftable
private boolean toggleFilteringCraftable()- Mappings:
Namespace Name Mixin selector official l
Ldyd;l()Z
intermediary method_2589
Lnet/minecraft/class_507;method_2589()Z
named toggleFilteringCraftable
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Z
-
isClickOutsideBounds
public boolean isClickOutsideBounds(double double2, double double3, int int2, int int3, int int4, int int5, int int6)- Mappings:
Namespace Name Mixin selector official a
Ldyd;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
-
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:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Ldst;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(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:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official b
Ldst;b(III)Z
intermediary method_16803
Lnet/minecraft/class_364;method_16803(III)Z
named keyReleased
Lnet/minecraft/client/gui/Element;keyReleased(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:
Keyboard.onChar(long, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Ldst;a(CI)Z
intermediary method_25400
Lnet/minecraft/class_364;method_25400(CI)Z
named charTyped
Lnet/minecraft/client/gui/Element;charTyped(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 official b
Ldst;b(DD)Z
intermediary method_25405
Lnet/minecraft/class_364;method_25405(DD)Z
named isMouseOver
Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
refreshSearchResults
private void refreshSearchResults()- Mappings:
Namespace Name Mixin selector official m
Ldyd;m()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
Ldyd;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
-
isWide
private boolean isWide()- Mappings:
Namespace Name Mixin selector official n
Ldyd;n()Z
intermediary method_2604
Lnet/minecraft/class_507;method_2604()Z
named isWide
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Z
-
refresh
public void refresh()- Mappings:
Namespace Name Mixin selector official h
Ldyd;h()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:
onRecipesDisplayed
in interfaceRecipeDisplayListener
- Mappings:
Namespace Name Mixin selector official a
Ldyi;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
Ldyd;a(Lbqn;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
-
acceptAlignedInput
public void acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)- Specified by:
acceptAlignedInput
in interfaceRecipeGridAligner<Ingredient>
- Mappings:
Namespace Name Mixin selector official a
Lvr;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
-
sendBookDataPacket
protected void sendBookDataPacket()- Mappings:
Namespace Name Mixin selector official i
Ldyd;i()V
intermediary method_2588
Lnet/minecraft/class_507;method_2588()V
named sendBookDataPacket
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()V
-