Class RecipeBookResults
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookResults
- Mappings:
Namespace Name official edpintermediary net/minecraft/class_513named net/minecraft/client/gui/screen/recipebook/RecipeBookResults
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RecipeAlternativesWidgetprivate MinecraftClientprivate intstatic intprivate AnimatedResultButtonprivate Recipe<?>private ToggleButtonWidgetprivate intprivate ToggleButtonWidgetprivate RecipeBookprivate List<RecipeDisplayListener>private List<AnimatedResultButton>private RecipeResultCollectionprivate List<RecipeResultCollection> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(MatrixStack matrices, int int2, int int3, int int4, int int5, float float2)voiddrawTooltip(MatrixStack matrices, int x, int y)voidprivate voidvoidinitialize(MinecraftClient client, int parentLeft, int parentTop)protected voidmethod_37083(Consumer<ClickableWidget> consumer)booleanmouseClicked(double mouseX, double mouseY, int button, int areaLeft, int areaTop, int areaWidth, int areaHeight)voidonRecipesDisplayed(List<Recipe<?>> recipes)private voidvoidsetGui(RecipeBookWidget widget)voidsetResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage)
-
Field Details
-
field_32411
public static final int field_32411- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLedp;a:Iintermediary field_32411Lnet/minecraft/class_513;field_32411:Inamed field_32411Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_32411:I
-
resultButtons
- Mappings:
Namespace Name Mixin selector official bLedp;b:Ljava/util/List;intermediary field_3131Lnet/minecraft/class_513;field_3131:Ljava/util/List;named resultButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultButtons:Ljava/util/List;
-
hoveredResultButton
- Mappings:
Namespace Name Mixin selector official cLedp;c:Ledr;intermediary field_3129Lnet/minecraft/class_513;field_3129:Lnet/minecraft/class_514;named hoveredResultButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hoveredResultButton:Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;
-
alternatesWidget
- Mappings:
Namespace Name Mixin selector official dLedp;d:Ledn;intermediary field_3132Lnet/minecraft/class_513;field_3132:Lnet/minecraft/class_508;named alternatesWidgetLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;alternatesWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;
-
client
- Mappings:
Namespace Name Mixin selector official eLedp;e:Ldvo;intermediary field_3126Lnet/minecraft/class_513;field_3126:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;client:Lnet/minecraft/client/MinecraftClient;
-
recipeDisplayListeners
- Mappings:
Namespace Name Mixin selector official fLedp;f:Ljava/util/List;intermediary field_3134Lnet/minecraft/class_513;field_3134:Ljava/util/List;named recipeDisplayListenersLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeDisplayListeners:Ljava/util/List;
-
resultCollections
- Mappings:
Namespace Name Mixin selector official gLedp;g:Ljava/util/List;intermediary field_3127Lnet/minecraft/class_513;field_3127:Ljava/util/List;named resultCollectionsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollections:Ljava/util/List;
-
nextPageButton
- Mappings:
Namespace Name Mixin selector official hLedp;h:Ldxq;intermediary field_3128Lnet/minecraft/class_513;field_3128:Lnet/minecraft/class_361;named nextPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;nextPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
-
prevPageButton
- Mappings:
Namespace Name Mixin selector official iLedp;i:Ldxq;intermediary field_3130Lnet/minecraft/class_513;field_3130:Lnet/minecraft/class_361;named prevPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;prevPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
-
pageCount
private int pageCount- Mappings:
Namespace Name Mixin selector official jLedp;j:Iintermediary field_3124Lnet/minecraft/class_513;field_3124:Inamed pageCountLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;pageCount:I
-
currentPage
private int currentPage- Mappings:
Namespace Name Mixin selector official kLedp;k:Iintermediary field_3135Lnet/minecraft/class_513;field_3135:Inamed currentPageLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;currentPage:I
-
recipeBook
- Mappings:
Namespace Name Mixin selector official lLedp;l:Lafh;intermediary field_3136Lnet/minecraft/class_513;field_3136:Lnet/minecraft/class_3439;named recipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBook:Lnet/minecraft/recipe/book/RecipeBook;
-
lastClickedRecipe
- Mappings:
Namespace Name Mixin selector official mLedp;m:Lbth;intermediary field_3125Lnet/minecraft/class_513;field_3125:Lnet/minecraft/class_1860;named lastClickedRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;lastClickedRecipe:Lnet/minecraft/recipe/Recipe;
-
resultCollection
- Mappings:
Namespace Name Mixin selector official nLedp;n:Leds;intermediary field_3133Lnet/minecraft/class_513;field_3133:Lnet/minecraft/class_516;named resultCollectionLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
-
Constructor Details
-
RecipeBookResults
public RecipeBookResults()
-
-
Method Details
-
initialize
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ldvo;II)Vintermediary method_2636Lnet/minecraft/class_513;method_2636(Lnet/minecraft/class_310;II)Vnamed initializeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;initialize(Lnet/minecraft/client/MinecraftClient;II)V
-
setGui
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ledo;)Vintermediary method_2630Lnet/minecraft/class_513;method_2630(Lnet/minecraft/class_507;)Vnamed setGuiLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setGui(Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;)V
-
setResults
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ljava/util/List;Z)Vintermediary method_2627Lnet/minecraft/class_513;method_2627(Ljava/util/List;Z)Vnamed setResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setResults(Ljava/util/List;Z)V
-
refreshResultButtons
private void refreshResultButtons()- Mappings:
Namespace Name Mixin selector official fLedp;f()Vintermediary method_2625Lnet/minecraft/class_513;method_2625()Vnamed refreshResultButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;refreshResultButtons()V
-
hideShowPageButtons
private void hideShowPageButtons()- Mappings:
Namespace Name Mixin selector official gLedp;g()Vintermediary method_2626Lnet/minecraft/class_513;method_2626()Vnamed hideShowPageButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideShowPageButtons()V
-
draw
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ldqk;IIIIF)Vintermediary method_2634Lnet/minecraft/class_513;method_2634(Lnet/minecraft/class_4587;IIIIF)Vnamed drawLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;draw(Lnet/minecraft/client/util/math/MatrixStack;IIIIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ldqk;II)Vintermediary method_2628Lnet/minecraft/class_513;method_2628(Lnet/minecraft/class_4587;II)Vnamed drawTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;drawTooltip(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
getLastClickedRecipe
- Mappings:
Namespace Name Mixin selector official aLedp;a()Lbth;intermediary method_2631Lnet/minecraft/class_513;method_2631()Lnet/minecraft/class_1860;named getLastClickedRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedRecipe()Lnet/minecraft/recipe/Recipe;
-
getLastClickedResults
- Mappings:
Namespace Name Mixin selector official bLedp;b()Leds;intermediary method_2635Lnet/minecraft/class_513;method_2635()Lnet/minecraft/class_516;named getLastClickedResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedResults()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
hideAlternates
public void hideAlternates()- Mappings:
Namespace Name Mixin selector official cLedp;c()Vintermediary method_2638Lnet/minecraft/class_513;method_2638()Vnamed hideAlternatesLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideAlternates()V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button, int areaLeft, int areaTop, int areaWidth, int areaHeight)- Mappings:
Namespace Name Mixin selector official aLedp;a(DDIIIII)Zintermediary method_2632Lnet/minecraft/class_513;method_2632(DDIIIII)Znamed mouseClickedLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;mouseClicked(DDIIIII)Z
-
onRecipesDisplayed
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ljava/util/List;)Vintermediary method_2629Lnet/minecraft/class_513;method_2629(Ljava/util/List;)Vnamed onRecipesDisplayedLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;onRecipesDisplayed(Ljava/util/List;)V
-
getMinecraftClient
- Mappings:
Namespace Name Mixin selector official dLedp;d()Ldvo;intermediary method_2637Lnet/minecraft/class_513;method_2637()Lnet/minecraft/class_310;named getMinecraftClientLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getMinecraftClient()Lnet/minecraft/client/MinecraftClient;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector official eLedp;e()Lafh;intermediary method_2633Lnet/minecraft/class_513;method_2633()Lnet/minecraft/class_3439;named getRecipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getRecipeBook()Lnet/minecraft/recipe/book/RecipeBook;
-
method_37083
- Mappings:
Namespace Name Mixin selector official aLedp;a(Ljava/util/function/Consumer;)Vintermediary method_37083Lnet/minecraft/class_513;method_37083(Ljava/util/function/Consumer;)Vnamed method_37083Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;method_37083(Ljava/util/function/Consumer;)V
-