类 RecipeBookWidget
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
-
- 所有已实现的接口:
Drawable,Element,RecipeDisplayListener,RecipeGridAligner<Ingredient>
- 直接已知子类:
AbstractFurnaceRecipeBookScreen
@Environment(CLIENT) public class RecipeBookWidget extends DrawableHelper implements Drawable, Element, RecipeDisplayListener, RecipeGridAligner<Ingredient>
- Mappings:
Namespace Name official eceintermediary net/minecraft/class_507named net/minecraft/client/gui/screen/recipebook/RecipeBookWidget
-
-
字段概要
字段 修饰符和类型 字段 说明 private intcachedInvChangeCountprotected MinecraftClientclientprotected AbstractRecipeScreenHandler<?>craftingScreenHandlerprivate RecipeGroupButtonWidgetcurrentTabstatic intfield_32408static intfield_32409private static intfield_32410protected RecipeBookGhostSlotsghostSlotsprivate intleftOffsetprivate intparentHeightprivate intparentWidthprivate ClientRecipeBookrecipeBookprivate RecipeFinderrecipeFinderprivate RecipeBookResultsrecipesAreaprivate static TextSEARCH_HINT_TEXTprivate TextFieldWidgetsearchFieldprivate booleansearchingprivate StringsearchTextprivate List<RecipeGroupButtonWidget>tabButtonsprotected static IdentifierTEXTUREprivate static TextTOGGLE_ALL_RECIPES_TEXTprivate static TextTOGGLE_CRAFTABLE_RECIPES_TEXTprotected ToggleButtonWidgettoggleCraftableButton-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 RecipeBookWidget()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidacceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)booleanchangeFocus(boolean lookForwards)Changes the focusing element by cycling to the next/previous element.booleancharTyped(char chr, int modifiers)Callback for when a character input has been captured.voidclose()voiddrawGhostSlots(MatrixStack matrices, int int2, int int3, boolean bool, float float2)private voiddrawGhostSlotTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)voiddrawTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)intfindLeftEdge(boolean narrow, int width, int parentWidth)private TextgetCraftableButtonText()protected TextgetToggleCraftableButtonText()voidinitialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler)booleanisClickOutsideBounds(double double2, double double3, int int2, int int3, int int4, int int5, int int6)booleanisMouseOver(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 voidrefreshInputs()private voidrefreshResults(boolean resetCurrentPage)private voidrefreshSearchResults()private voidrefreshTabButtons()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidreset(boolean narrow)protected voidsendBookDataPacket()protected voidsetBookButtonTexture()protected voidsetOpen(boolean opened)voidshowGhostRecipe(Recipe<?> recipe, List<Slot> slots)voidslotClicked(@Nullable Slot slot)private booleantoggleFilteringCraftable()voidtoggleOpen()private voidtriggerPirateSpeakEasterEgg(String string)voidupdate()-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
从接口继承的方法 net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
-
-
-
字段详细资料
-
TEXTURE
protected static final Identifier TEXTURE
- Mappings:
Namespace Name Mixin selector official aLece;a:Lwp;intermediary field_3097Lnet/minecraft/class_507;field_3097:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TEXTURE:Lnet/minecraft/util/Identifier;
-
SEARCH_HINT_TEXT
private static final Text SEARCH_HINT_TEXT
- Mappings:
Namespace Name Mixin selector official kLece;k:Lon;intermediary field_25711Lnet/minecraft/class_507;field_25711:Lnet/minecraft/class_2561;named SEARCH_HINT_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;SEARCH_HINT_TEXT:Lnet/minecraft/text/Text;
-
field_32408
public static final int field_32408
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLece;b:Iintermediary field_32408Lnet/minecraft/class_507;field_32408:Inamed field_32408Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32408:I
-
field_32409
public static final int field_32409
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLece;c:Iintermediary field_32409Lnet/minecraft/class_507;field_32409:Inamed field_32409Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32409:I
-
field_32410
private static final int field_32410
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official lLece;l:Iintermediary field_32410Lnet/minecraft/class_507;field_32410:Inamed field_32410Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32410:I
-
TOGGLE_CRAFTABLE_RECIPES_TEXT
private static final Text TOGGLE_CRAFTABLE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector official mLece;m:Lon;intermediary field_26593Lnet/minecraft/class_507;field_26593:Lnet/minecraft/class_2561;named TOGGLE_CRAFTABLE_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_CRAFTABLE_RECIPES_TEXT:Lnet/minecraft/text/Text;
-
TOGGLE_ALL_RECIPES_TEXT
private static final Text TOGGLE_ALL_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector official nLece;n:Lon;intermediary field_26594Lnet/minecraft/class_507;field_26594:Lnet/minecraft/class_2561;named TOGGLE_ALL_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_ALL_RECIPES_TEXT:Lnet/minecraft/text/Text;
-
leftOffset
private int leftOffset
- Mappings:
Namespace Name Mixin selector official oLece;o:Iintermediary field_3102Lnet/minecraft/class_507;field_3102:Inamed leftOffsetLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:I
-
parentWidth
private int parentWidth
- Mappings:
Namespace Name Mixin selector official pLece;p:Iintermediary field_3101Lnet/minecraft/class_507;field_3101:Inamed parentWidthLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:I
-
parentHeight
private int parentHeight
- Mappings:
Namespace Name Mixin selector official qLece;q:Iintermediary field_3100Lnet/minecraft/class_507;field_3100:Inamed parentHeightLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentHeight:I
-
ghostSlots
protected final RecipeBookGhostSlots ghostSlots
- Mappings:
Namespace Name Mixin selector official dLece;d:Lecc;intermediary field_3092Lnet/minecraft/class_507;field_3092:Lnet/minecraft/class_505;named ghostSlotsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostSlots:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookGhostSlots;
-
tabButtons
private final List<RecipeGroupButtonWidget> tabButtons
- Mappings:
Namespace Name Mixin selector official rLece;r:Ljava/util/List;intermediary field_3094Lnet/minecraft/class_507;field_3094:Ljava/util/List;named tabButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabButtons:Ljava/util/List;
-
currentTab
private RecipeGroupButtonWidget currentTab
- Mappings:
Namespace Name Mixin selector official sLece;s:Lecg;intermediary field_3098Lnet/minecraft/class_507;field_3098:Lnet/minecraft/class_512;named currentTabLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;currentTab:Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;
-
toggleCraftableButton
protected ToggleButtonWidget toggleCraftableButton
- Mappings:
Namespace Name Mixin selector official eLece;e:Ldwn;intermediary field_3088Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_361;named toggleCraftableButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
-
craftingScreenHandler
protected AbstractRecipeScreenHandler<?> craftingScreenHandler
- Mappings:
Namespace Name Mixin selector official iLece;i:Lbmu;intermediary field_3095Lnet/minecraft/class_507;field_3095:Lnet/minecraft/class_1729;named craftingScreenHandlerLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
-
client
protected MinecraftClient client
- Mappings:
Namespace Name Mixin selector official jLece;j:Ldum;intermediary field_3091Lnet/minecraft/class_507;field_3091:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;client:Lnet/minecraft/client/MinecraftClient;
-
searchField
private TextFieldWidget searchField
- Mappings:
Namespace Name Mixin selector official tLece;t:Ldwe;intermediary field_3089Lnet/minecraft/class_507;field_3089:Lnet/minecraft/class_342;named searchFieldLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
searchText
private String searchText
- Mappings:
Namespace Name Mixin selector official uLece;u:Ljava/lang/String;intermediary field_3099Lnet/minecraft/class_507;field_3099:Ljava/lang/String;named searchTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchText:Ljava/lang/String;
-
recipeBook
private ClientRecipeBook recipeBook
- Mappings:
Namespace Name Mixin selector official vLece;v:Ldtz;intermediary field_3096Lnet/minecraft/class_507;field_3096:Lnet/minecraft/class_299;named recipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
recipesArea
private final RecipeBookResults recipesArea
- Mappings:
Namespace Name Mixin selector official wLece;w:Lecf;intermediary field_3086Lnet/minecraft/class_507;field_3086:Lnet/minecraft/class_513;named recipesAreaLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipesArea:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;
-
recipeFinder
private final RecipeFinder recipeFinder
- Mappings:
Namespace Name Mixin selector official xLece;x:Lbjh;intermediary field_3090Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_1662;named recipeFinderLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeFinder;
-
cachedInvChangeCount
private int cachedInvChangeCount
- Mappings:
Namespace Name Mixin selector official yLece;y:Iintermediary field_3093Lnet/minecraft/class_507;field_3093:Inamed cachedInvChangeCountLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:I
-
searching
private boolean searching
- Mappings:
Namespace Name Mixin selector official zLece;z:Zintermediary field_3087Lnet/minecraft/class_507;field_3087:Znamed searchingLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching:Z
-
-
方法详细资料
-
initialize
public void initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler)- Mappings:
Namespace Name Mixin selector official aLece;a(IILdum;ZLbmu;)Vintermediary method_2597Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;ZLnet/minecraft/class_1729;)Vnamed initializeLnet/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 aLece;a(Z)Vintermediary method_2579Lnet/minecraft/class_507;method_2579(Z)Vnamed resetLnet/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.- 指定者:
changeFocus在接口中Element- 参数:
lookForwards-trueto cycle forwards, otherwise cycle backwards- 返回:
trueto indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official c_Ldwv;c_(Z)Zintermediary method_25407Lnet/minecraft/class_364;method_25407(Z)Znamed changeFocusLnet/minecraft/client/gui/Element;changeFocus(Z)Z
-
setBookButtonTexture
protected void setBookButtonTexture()
- Mappings:
Namespace Name Mixin selector official aLece;a()Vintermediary method_2585Lnet/minecraft/class_507;method_2585()Vnamed setBookButtonTextureLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()V
-
close
public void close()
- Mappings:
Namespace Name Mixin selector official dLece;d()Vintermediary method_2607Lnet/minecraft/class_507;method_2607()Vnamed closeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;close()V
-
findLeftEdge
public int findLeftEdge(boolean narrow, int width, int parentWidth)- Mappings:
Namespace Name Mixin selector official aLece;a(ZII)Iintermediary method_2595Lnet/minecraft/class_507;method_2595(ZII)Inamed findLeftEdgeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(ZII)I
-
toggleOpen
public void toggleOpen()
- Mappings:
Namespace Name Mixin selector official eLece;e()Vintermediary method_2591Lnet/minecraft/class_507;method_2591()Vnamed toggleOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()V
-
isOpen
public boolean isOpen()
- Mappings:
Namespace Name Mixin selector official fLece;f()Zintermediary method_2605Lnet/minecraft/class_507;method_2605()Znamed isOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Z
-
setOpen
protected void setOpen(boolean opened)
- Mappings:
Namespace Name Mixin selector official cLece;c(Z)Vintermediary method_2593Lnet/minecraft/class_507;method_2593(Z)Vnamed setOpenLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setOpen(Z)V
-
slotClicked
public void slotClicked(@Nullable @Nullable Slot slot)
- Mappings:
Namespace Name Mixin selector official aLece;a(Lbnc;)Vintermediary method_2600Lnet/minecraft/class_507;method_2600(Lnet/minecraft/class_1735;)Vnamed slotClickedLnet/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 dLece;d(Z)Vintermediary method_2603Lnet/minecraft/class_507;method_2603(Z)Vnamed refreshResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(Z)V
-
refreshTabButtons
private void refreshTabButtons()
- Mappings:
Namespace Name Mixin selector official bLece;b()Vintermediary method_2606Lnet/minecraft/class_507;method_2606()Vnamed refreshTabButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons()V
-
update
public void update()
- Mappings:
Namespace Name Mixin selector official gLece;g()Vintermediary method_2590Lnet/minecraft/class_507;method_2590()Vnamed updateLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()V
-
refreshInputs
private void refreshInputs()
- Mappings:
Namespace Name Mixin selector official jLece;j()Vintermediary method_2587Lnet/minecraft/class_507;method_2587()Vnamed refreshInputsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshInputs()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
-
drawTooltip
public void drawTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)
- Mappings:
Namespace Name Mixin selector official cLece;c(Ldpi;IIII)Vintermediary method_2601Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_4587;IIII)Vnamed drawTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
getCraftableButtonText
private Text getCraftableButtonText()
- Mappings:
Namespace Name Mixin selector official kLece;k()Lon;intermediary method_2599Lnet/minecraft/class_507;method_2599()Lnet/minecraft/class_2561;named getCraftableButtonTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getCraftableButtonText()Lnet/minecraft/text/Text;
-
getToggleCraftableButtonText
protected Text getToggleCraftableButtonText()
- Mappings:
Namespace Name Mixin selector official cLece;c()Lon;intermediary method_17064Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;named getToggleCraftableButtonTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;
-
drawGhostSlotTooltip
private void drawGhostSlotTooltip(MatrixStack matrices, int int2, int int3, int int4, int int5)
- Mappings:
Namespace Name Mixin selector official dLece;d(Ldpi;IIII)Vintermediary method_2602Lnet/minecraft/class_507;method_2602(Lnet/minecraft/class_4587;IIII)Vnamed drawGhostSlotTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlotTooltip(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
drawGhostSlots
public void drawGhostSlots(MatrixStack matrices, int int2, int int3, boolean bool, float float2)
- Mappings:
Namespace Name Mixin selector official aLece;a(Ldpi;IIZF)Vintermediary method_2581Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_4587;IIZF)Vnamed drawGhostSlotsLnet/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 inGLFWclass.- 指定者:
mouseClicked在接口中Element- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdwv;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
toggleFilteringCraftable
private boolean toggleFilteringCraftable()
- Mappings:
Namespace Name Mixin selector official lLece;l()Zintermediary method_2589Lnet/minecraft/class_507;method_2589()Znamed toggleFilteringCraftableLnet/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 aLece;a(DDIIIII)Zintermediary method_2598Lnet/minecraft/class_507;method_2598(DDIIIII)Znamed isClickOutsideBoundsLnet/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 inGLFWclass.- 指定者:
keyPressed在接口中Element- 参数:
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)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/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 inGLFWclass.- 指定者:
keyReleased在接口中Element- 参数:
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)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official bLdwv;b(III)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(III)Znamed keyReleasedLnet/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 inGLFWclass.- 指定者:
charTyped在接口中Element- 参数:
chr- the captured charactermodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onChar(long, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;a(CI)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(CI)Znamed charTypedLnet/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.- 指定者:
isMouseOver在接口中Element- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- 返回:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector official bLdwv;b(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Znamed isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
refreshSearchResults
private void refreshSearchResults()
- Mappings:
Namespace Name Mixin selector official mLece;m()Vintermediary method_2586Lnet/minecraft/class_507;method_2586()Vnamed refreshSearchResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshSearchResults()V
-
triggerPirateSpeakEasterEgg
private void triggerPirateSpeakEasterEgg(String string)
- Mappings:
Namespace Name Mixin selector official aLece;a(Ljava/lang/String;)Vintermediary method_2576Lnet/minecraft/class_507;method_2576(Ljava/lang/String;)Vnamed triggerPirateSpeakEasterEggLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;triggerPirateSpeakEasterEgg(Ljava/lang/String;)V
-
isWide
private boolean isWide()
- Mappings:
Namespace Name Mixin selector official nLece;n()Zintermediary method_2604Lnet/minecraft/class_507;method_2604()Znamed isWideLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Z
-
refresh
public void refresh()
- Mappings:
Namespace Name Mixin selector official hLece;h()Vintermediary method_2592Lnet/minecraft/class_507;method_2592()Vnamed refreshLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refresh()V
-
onRecipesDisplayed
public void onRecipesDisplayed(List<Recipe<?>> recipes)
- 指定者:
onRecipesDisplayed在接口中RecipeDisplayListener- Mappings:
Namespace Name Mixin selector official aLecj;a(Ljava/util/List;)Vintermediary method_2646Lnet/minecraft/class_515;method_2646(Ljava/util/List;)Vnamed onRecipesDisplayedLnet/minecraft/client/gui/screen/recipebook/RecipeDisplayListener;onRecipesDisplayed(Ljava/util/List;)V
-
showGhostRecipe
public void showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
- Mappings:
Namespace Name Mixin selector official aLece;a(Lbsj;Ljava/util/List;)Vintermediary method_2596Lnet/minecraft/class_507;method_2596(Lnet/minecraft/class_1860;Ljava/util/List;)Vnamed showGhostRecipeLnet/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)
- 指定者:
acceptAlignedInput在接口中RecipeGridAligner<Ingredient>- Mappings:
Namespace Name Mixin selector official aLwf;a(Ljava/util/Iterator;IIII)Vintermediary method_12815Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)Vnamed acceptAlignedInputLnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
-
sendBookDataPacket
protected void sendBookDataPacket()
- Mappings:
Namespace Name Mixin selector official iLece;i()Vintermediary method_2588Lnet/minecraft/class_507;method_2588()Vnamed sendBookDataPacketLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()V
-
-