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 gww
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeAlternativesWidgetprivate MinecraftClientprivate intstatic final intprivate static final intprivate static final intprivate booleanprivate AnimatedResultButtonprivate NetworkRecipeIdprivate static final Textprivate TexturedButtonWidgetprivate static final ButtonTexturesprivate static final ButtonTexturesprivate intprivate static final Textprivate TexturedButtonWidgetprivate ClientRecipeBookprivate final RecipeBookWidget<?> private final List<AnimatedResultButton> private 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> action) @Nullable NetworkRecipeId@Nullable RecipeResultCollectionvoidprivate voidvoidinitialize(MinecraftClient client, int parentLeft, int parentTop) booleanmouseClicked(Click click, int left, int top, int width, int height, boolean doubled) 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 aLgww;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 bLgww;b:Lgku;
-
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 cLgww;c:Lgku;
-
NEXT_PAGE_TOOLTIP
- Mappings:
Namespace Name Mixin selector named NEXT_PAGE_TOOLTIPLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;NEXT_PAGE_TOOLTIP:Lnet/minecraft/text/Text;intermediary field_64550Lnet/minecraft/class_513;field_64550:Lnet/minecraft/class_2561;official dLgww;d:Lyh;
-
PREVIOUS_PAGE_TOOLTIP
- Mappings:
Namespace Name Mixin selector named PREVIOUS_PAGE_TOOLTIPLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PREVIOUS_PAGE_TOOLTIP:Lnet/minecraft/text/Text;intermediary field_64551Lnet/minecraft/class_513;field_64551:Lnet/minecraft/class_2561;official eLgww;e:Lyh;
-
field_64552
private static final int field_64552- See Also:
- Mappings:
Namespace Name Mixin selector named field_64552Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_64552:Iintermediary field_64552Lnet/minecraft/class_513;field_64552:Iofficial fLgww;f:I
-
field_64553
private static final int field_64553- See Also:
- Mappings:
Namespace Name Mixin selector named field_64553Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_64553:Iintermediary field_64553Lnet/minecraft/class_513;field_64553:Iofficial gLgww;g:I
-
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 hLgww;h: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 iLgww;i:Lgwy;
-
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 jLgww;j:Lgwu;
-
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 kLgww;k:Lgfj;
-
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 lLgww;l:Lgwv;
-
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 mLgww;m:Ljava/util/List;
-
nextPageButton
- Mappings:
Namespace Name Mixin selector named nextPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;nextPageButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;intermediary field_3128Lnet/minecraft/class_513;field_3128:Lnet/minecraft/class_344;official nLgww;n:Lgjq;
-
prevPageButton
- Mappings:
Namespace Name Mixin selector named prevPageButtonLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;prevPageButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;intermediary field_3130Lnet/minecraft/class_513;field_3130:Lnet/minecraft/class_344;official oLgww;o:Lgjq;
-
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 pLgww;p: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 qLgww;q: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 rLgww;r:Lgeu;
-
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 sLgww;s:Ldsa;
-
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 tLgww;t:Lgwz;
-
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 uLgww;u: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>Lgww;<init>(Lgwv;Lgxc;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 aLgww;a(Lgfj;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 aLgww;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 eLgww;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 fLgww;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 aLgww;a(Lgir;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 aLgww;a(Lgir;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 aLgww;a()Ldsa;
-
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 bLgww;b()Lgwz;
-
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 cLgww;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 aLgww;a(Lgzc;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 aLgww;a(Ldsa;)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 dLgww;d()Lgeu;
-
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 aLgww;a(Ljava/util/function/Consumer;)V
-