Class RecipeBookResults
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookResults
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeBookResultsintermediary net/minecraft/class_513official grc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeAlternativesWidgetprivate MinecraftClientprivate intstatic final intprivate booleanprivate @Nullable AnimatedResultButtonprivate @Nullable NetworkRecipeIdprivate ToggleButtonWidgetprivate static final ButtonTexturesprivate static final ButtonTexturesprivate intprivate ToggleButtonWidgetprivate ClientRecipeBookprivate final RecipeBookWidget<?> private final List<AnimatedResultButton> private @Nullable RecipeResultCollectionprivate List<RecipeResultCollection> -
Constructor Summary
ConstructorsConstructorDescriptionRecipeBookResults(RecipeBookWidget<?> recipeBookWidget, CurrentIndexProvider currentIndexProvider, boolean furnace) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(DrawContext context, int x, int y, int mouseX, int mouseY, float deltaTicks) voiddrawTooltip(DrawContext context, int x, int y) protected voidforEachButton(Consumer<ClickableWidget> consumer) voidprivate voidvoidinitialize(MinecraftClient client, int parentLeft, int parentTop) booleanmouseClicked(Click click, int left, int top, int width, int height, boolean bool) voidonRecipeDisplayed(NetworkRecipeId recipeId) private voidvoidsetResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage, boolean filteringCraftable)
-
Field Details
-
field_32411
public static final int field_32411- See Also:
- Mappings:
Namespace Name Mixin selector named field_32411Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_32411:Iintermediary field_32411Lnet/minecraft/class_513;field_32411:Iofficial aLgrc;a:I
-
PAGE_FORWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector named PAGE_FORWARD_TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_FORWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_45552Lnet/minecraft/class_513;field_45552:Lnet/minecraft/class_8666;official bLgrc;b:Lgfe;
-
PAGE_BACKWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector named PAGE_BACKWARD_TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_BACKWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_45553Lnet/minecraft/class_513;field_45553:Lnet/minecraft/class_8666;official cLgrc;c:Lgfe;
-
resultButtons
- Mappings:
Namespace Name Mixin selector named resultButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultButtons:Ljava/util/List;intermediary field_3131Lnet/minecraft/class_513;field_3131:Ljava/util/List;official dLgrc;d:Ljava/util/List;
-
hoveredResultButton
- Mappings:
Namespace Name Mixin selector named hoveredResultButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hoveredResultButton:Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;intermediary field_3129Lnet/minecraft/class_513;field_3129:Lnet/minecraft/class_514;official eLgrc;e:Lgre;
-
alternatesWidget
- Mappings:
Namespace Name Mixin selector named alternatesWidgetLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;alternatesWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;intermediary field_3132Lnet/minecraft/class_513;field_3132:Lnet/minecraft/class_508;official fLgrc;f:Lgra;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;client:Lnet/minecraft/client/MinecraftClient;intermediary field_3126Lnet/minecraft/class_513;field_3126:Lnet/minecraft/class_310;official gLgrc;g:Lfzz;
-
recipeBookWidget
- Mappings:
Namespace Name Mixin selector named recipeBookWidgetLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBookWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;intermediary field_54832Lnet/minecraft/class_513;field_54832:Lnet/minecraft/class_507;official hLgrc;h:Lgrb;
-
resultCollections
- Mappings:
Namespace Name Mixin selector named resultCollectionsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollections:Ljava/util/List;intermediary field_3127Lnet/minecraft/class_513;field_3127:Ljava/util/List;official iLgrc;i:Ljava/util/List;
-
nextPageButton
- Mappings:
Namespace Name Mixin selector named nextPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;nextPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;intermediary field_3128Lnet/minecraft/class_513;field_3128:Lnet/minecraft/class_361;official jLgrc;j:Lgex;
-
prevPageButton
- Mappings:
Namespace Name Mixin selector named prevPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;prevPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;intermediary field_3130Lnet/minecraft/class_513;field_3130:Lnet/minecraft/class_361;official kLgrc;k:Lgex;
-
pageCount
private int pageCount- Mappings:
Namespace Name Mixin selector named pageCountLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;pageCount:Iintermediary field_3124Lnet/minecraft/class_513;field_3124:Iofficial lLgrc;l:I
-
currentPage
private int currentPage- Mappings:
Namespace Name Mixin selector named currentPageLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;currentPage:Iintermediary field_3135Lnet/minecraft/class_513;field_3135:Iofficial mLgrc;m:I
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;intermediary field_3136Lnet/minecraft/class_513;field_3136:Lnet/minecraft/class_299;official nLgrc;n:Lfzk;
-
lastClickedRecipe
- Mappings:
Namespace Name Mixin selector named lastClickedRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;lastClickedRecipe:Lnet/minecraft/recipe/NetworkRecipeId;intermediary field_3125Lnet/minecraft/class_513;field_3125:Lnet/minecraft/class_10298;official oLgrc;o:Ldnq;
-
resultCollection
- Mappings:
Namespace Name Mixin selector named resultCollectionLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;intermediary field_3133Lnet/minecraft/class_513;field_3133:Lnet/minecraft/class_516;official pLgrc;p:Lgrf;
-
filteringCraftable
private boolean filteringCraftable- Mappings:
Namespace Name Mixin selector named filteringCraftableLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;filteringCraftable:Zintermediary field_52844Lnet/minecraft/class_513;field_52844:Zofficial qLgrc;q:Z
-
-
Constructor Details
-
RecipeBookResults
public RecipeBookResults(RecipeBookWidget<?> recipeBookWidget, CurrentIndexProvider currentIndexProvider, boolean furnace) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;Z)Vintermediary <init>Lnet/minecraft/class_513;<init>(Lnet/minecraft/class_507;Lnet/minecraft/class_9938;Z)Vofficial <init>Lgrc;<init>(Lgrb;Lgri;Z)V
-
-
Method Details
-
initialize
- Mappings:
Namespace Name Mixin selector named initializeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;initialize(Lnet/minecraft/client/MinecraftClient;II)Vintermediary method_2636Lnet/minecraft/class_513;method_2636(Lnet/minecraft/class_310;II)Vofficial aLgrc;a(Lfzz;II)V
-
setResults
public void setResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage, boolean filteringCraftable) - Mappings:
Namespace Name Mixin selector named setResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setResults(Ljava/util/List;ZZ)Vintermediary method_2627Lnet/minecraft/class_513;method_2627(Ljava/util/List;ZZ)Vofficial aLgrc;a(Ljava/util/List;ZZ)V
-
refreshResultButtons
private void refreshResultButtons()- Mappings:
Namespace Name Mixin selector named refreshResultButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;refreshResultButtons()Vintermediary method_2625Lnet/minecraft/class_513;method_2625()Vofficial eLgrc;e()V
-
hideShowPageButtons
private void hideShowPageButtons()- Mappings:
Namespace Name Mixin selector named hideShowPageButtonsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideShowPageButtons()Vintermediary method_2626Lnet/minecraft/class_513;method_2626()Vofficial fLgrc;f()V
-
draw
- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;draw(Lnet/minecraft/client/gui/DrawContext;IIIIF)Vintermediary method_2634Lnet/minecraft/class_513;method_2634(Lnet/minecraft/class_332;IIIIF)Vofficial aLgrc;a(Lgdd;IIIIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector named drawTooltipLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;drawTooltip(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_2628Lnet/minecraft/class_513;method_2628(Lnet/minecraft/class_332;II)Vofficial aLgrc;a(Lgdd;II)V
-
getLastClickedRecipe
- Mappings:
Namespace Name Mixin selector named getLastClickedRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedRecipe()Lnet/minecraft/recipe/NetworkRecipeId;intermediary method_64878Lnet/minecraft/class_513;method_64878()Lnet/minecraft/class_10298;official aLgrc;a()Ldnq;
-
getLastClickedResults
- Mappings:
Namespace Name Mixin selector named getLastClickedResultsLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedResults()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;intermediary method_2635Lnet/minecraft/class_513;method_2635()Lnet/minecraft/class_516;official bLgrc;b()Lgrf;
-
hideAlternates
public void hideAlternates()- Mappings:
Namespace Name Mixin selector named hideAlternatesLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideAlternates()Vintermediary method_2638Lnet/minecraft/class_513;method_2638()Vofficial cLgrc;c()V
-
mouseClicked
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;mouseClicked(Lnet/minecraft/client/gui/Click;IIIIZ)Zintermediary method_2632Lnet/minecraft/class_513;method_2632(Lnet/minecraft/class_11909;IIIIZ)Zofficial aLgrc;a(Lgti;IIIIZ)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayedLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)Vintermediary method_64879Lnet/minecraft/class_513;method_64879(Lnet/minecraft/class_10298;)Vofficial aLgrc;a(Ldnq;)V
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector named getRecipeBookLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;intermediary method_2633Lnet/minecraft/class_513;method_2633()Lnet/minecraft/class_299;official dLgrc;d()Lfzk;
-
forEachButton
- Mappings:
Namespace Name Mixin selector named forEachButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;forEachButton(Ljava/util/function/Consumer;)Vintermediary method_37083Lnet/minecraft/class_513;method_37083(Ljava/util/function/Consumer;)Vofficial aLgrc;a(Ljava/util/function/Consumer;)V
-