Class RecipeBookResults
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookResults
- Mappings:
Namespace Name official fgq
intermediary net/minecraft/class_513
named net/minecraft/client/gui/screen/recipebook/RecipeBookResults
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeAlternativesWidget
private MinecraftClient
private int
static final int
private @Nullable AnimatedResultButton
private @Nullable RecipeEntry<?>
private ToggleButtonWidget
private static final ButtonTextures
private static final ButtonTextures
private int
private ToggleButtonWidget
private RecipeBook
private final List<RecipeDisplayListener>
private final List<AnimatedResultButton>
private @Nullable RecipeResultCollection
private List<RecipeResultCollection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(DrawContext context, int x, int y, int mouseX, int mouseY, float delta) void
drawTooltip
(DrawContext context, int x, int y) protected void
forEachButton
(Consumer<ClickableWidget> consumer) void
private void
void
initialize
(MinecraftClient client, int parentLeft, int parentTop) boolean
mouseClicked
(double mouseX, double mouseY, int button, int areaLeft, int areaTop, int areaWidth, int areaHeight) void
onRecipesDisplayed
(List<RecipeEntry<?>> recipes) private void
void
setGui
(RecipeBookWidget widget) void
setResults
(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage)
-
Field Details
-
field_32411
public static final int field_32411- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a:I
intermediary field_32411
Lnet/minecraft/class_513;field_32411:I
named field_32411
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_32411:I
-
PAGE_FORWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector official b
Lfgq;b:Leyt;
intermediary field_45552
Lnet/minecraft/class_513;field_45552:Lnet/minecraft/class_8666;
named PAGE_FORWARD_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_FORWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
PAGE_BACKWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector official c
Lfgq;c:Leyt;
intermediary field_45553
Lnet/minecraft/class_513;field_45553:Lnet/minecraft/class_8666;
named PAGE_BACKWARD_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_BACKWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
resultButtons
- Mappings:
Namespace Name Mixin selector official d
Lfgq;d:Ljava/util/List;
intermediary field_3131
Lnet/minecraft/class_513;field_3131:Ljava/util/List;
named resultButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultButtons:Ljava/util/List;
-
hoveredResultButton
- Mappings:
Namespace Name Mixin selector official e
Lfgq;e:Lfgs;
intermediary field_3129
Lnet/minecraft/class_513;field_3129:Lnet/minecraft/class_514;
named hoveredResultButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hoveredResultButton:Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;
-
alternatesWidget
- Mappings:
Namespace Name Mixin selector official f
Lfgq;f:Lfgo;
intermediary field_3132
Lnet/minecraft/class_513;field_3132:Lnet/minecraft/class_508;
named alternatesWidget
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;alternatesWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;
-
client
- Mappings:
Namespace Name Mixin selector official g
Lfgq;g:Levi;
intermediary field_3126
Lnet/minecraft/class_513;field_3126:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;client:Lnet/minecraft/client/MinecraftClient;
-
recipeDisplayListeners
- Mappings:
Namespace Name Mixin selector official h
Lfgq;h:Ljava/util/List;
intermediary field_3134
Lnet/minecraft/class_513;field_3134:Ljava/util/List;
named recipeDisplayListeners
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeDisplayListeners:Ljava/util/List;
-
resultCollections
- Mappings:
Namespace Name Mixin selector official i
Lfgq;i:Ljava/util/List;
intermediary field_3127
Lnet/minecraft/class_513;field_3127:Ljava/util/List;
named resultCollections
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollections:Ljava/util/List;
-
nextPageButton
- Mappings:
Namespace Name Mixin selector official j
Lfgq;j:Leym;
intermediary field_3128
Lnet/minecraft/class_513;field_3128:Lnet/minecraft/class_361;
named nextPageButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;nextPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
-
prevPageButton
- Mappings:
Namespace Name Mixin selector official k
Lfgq;k:Leym;
intermediary field_3130
Lnet/minecraft/class_513;field_3130:Lnet/minecraft/class_361;
named prevPageButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;prevPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
-
pageCount
private int pageCount- Mappings:
Namespace Name Mixin selector official l
Lfgq;l:I
intermediary field_3124
Lnet/minecraft/class_513;field_3124:I
named pageCount
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;pageCount:I
-
currentPage
private int currentPage- Mappings:
Namespace Name Mixin selector official m
Lfgq;m:I
intermediary field_3135
Lnet/minecraft/class_513;field_3135:I
named currentPage
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;currentPage:I
-
recipeBook
- Mappings:
Namespace Name Mixin selector official n
Lfgq;n:Larv;
intermediary field_3136
Lnet/minecraft/class_513;field_3136:Lnet/minecraft/class_3439;
named recipeBook
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBook:Lnet/minecraft/recipe/book/RecipeBook;
-
lastClickedRecipe
- Mappings:
Namespace Name Mixin selector official o
Lfgq;o:Lcqe;
intermediary field_3125
Lnet/minecraft/class_513;field_3125:Lnet/minecraft/class_8786;
named lastClickedRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;lastClickedRecipe:Lnet/minecraft/recipe/RecipeEntry;
-
resultCollection
- Mappings:
Namespace Name Mixin selector official p
Lfgq;p:Lfgt;
intermediary field_3133
Lnet/minecraft/class_513;field_3133:Lnet/minecraft/class_516;
named resultCollection
Lnet/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 a
Lfgq;a(Levi;II)V
intermediary method_2636
Lnet/minecraft/class_513;method_2636(Lnet/minecraft/class_310;II)V
named initialize
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;initialize(Lnet/minecraft/client/MinecraftClient;II)V
-
setGui
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Lfgp;)V
intermediary method_2630
Lnet/minecraft/class_513;method_2630(Lnet/minecraft/class_507;)V
named setGui
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setGui(Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;)V
-
setResults
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Ljava/util/List;Z)V
intermediary method_2627
Lnet/minecraft/class_513;method_2627(Ljava/util/List;Z)V
named setResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setResults(Ljava/util/List;Z)V
-
refreshResultButtons
private void refreshResultButtons()- Mappings:
Namespace Name Mixin selector official f
Lfgq;f()V
intermediary method_2625
Lnet/minecraft/class_513;method_2625()V
named refreshResultButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;refreshResultButtons()V
-
hideShowPageButtons
private void hideShowPageButtons()- Mappings:
Namespace Name Mixin selector official g
Lfgq;g()V
intermediary method_2626
Lnet/minecraft/class_513;method_2626()V
named hideShowPageButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideShowPageButtons()V
-
draw
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Lewu;IIIIF)V
intermediary method_2634
Lnet/minecraft/class_513;method_2634(Lnet/minecraft/class_332;IIIIF)V
named draw
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;draw(Lnet/minecraft/client/gui/DrawContext;IIIIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Lewu;II)V
intermediary method_2628
Lnet/minecraft/class_513;method_2628(Lnet/minecraft/class_332;II)V
named drawTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;drawTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
-
getLastClickedRecipe
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a()Lcqe;
intermediary method_2631
Lnet/minecraft/class_513;method_2631()Lnet/minecraft/class_8786;
named getLastClickedRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedRecipe()Lnet/minecraft/recipe/RecipeEntry;
-
getLastClickedResults
- Mappings:
Namespace Name Mixin selector official b
Lfgq;b()Lfgt;
intermediary method_2635
Lnet/minecraft/class_513;method_2635()Lnet/minecraft/class_516;
named getLastClickedResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedResults()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
hideAlternates
public void hideAlternates()- Mappings:
Namespace Name Mixin selector official c
Lfgq;c()V
intermediary method_2638
Lnet/minecraft/class_513;method_2638()V
named hideAlternates
Lnet/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 a
Lfgq;a(DDIIIII)Z
intermediary method_2632
Lnet/minecraft/class_513;method_2632(DDIIIII)Z
named mouseClicked
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;mouseClicked(DDIIIII)Z
-
onRecipesDisplayed
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Ljava/util/List;)V
intermediary method_2629
Lnet/minecraft/class_513;method_2629(Ljava/util/List;)V
named onRecipesDisplayed
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;onRecipesDisplayed(Ljava/util/List;)V
-
getClient
- Mappings:
Namespace Name Mixin selector official d
Lfgq;d()Levi;
intermediary method_2637
Lnet/minecraft/class_513;method_2637()Lnet/minecraft/class_310;
named getClient
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getClient()Lnet/minecraft/client/MinecraftClient;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector official e
Lfgq;e()Larv;
intermediary method_2633
Lnet/minecraft/class_513;method_2633()Lnet/minecraft/class_3439;
named getRecipeBook
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getRecipeBook()Lnet/minecraft/recipe/book/RecipeBook;
-
forEachButton
- Mappings:
Namespace Name Mixin selector official a
Lfgq;a(Ljava/util/function/Consumer;)V
intermediary method_37083
Lnet/minecraft/class_513;method_37083(Ljava/util/function/Consumer;)V
named forEachButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;forEachButton(Ljava/util/function/Consumer;)V
-