Class RecipeBookResults
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookResults
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeBookResults
intermediary net/minecraft/class_513
official fxv
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeAlternativesWidget
private MinecraftClient
private int
static final int
private boolean
private @Nullable AnimatedResultButton
private @Nullable NetworkRecipeId
private ToggleButtonWidget
private static final ButtonTextures
private static final ButtonTextures
private int
private ToggleButtonWidget
private ClientRecipeBook
private final RecipeBookWidget
<?> private final List
<AnimatedResultButton> private @Nullable RecipeResultCollection
private List
<RecipeResultCollection> -
Constructor Summary
ConstructorDescriptionRecipeBookResults
(RecipeBookWidget<?> recipeBookWidget, CurrentIndexProvider currentIndexProvider, boolean furnace) -
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
onRecipeDisplayed
(NetworkRecipeId recipeId) private void
void
setResults
(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_32411
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;field_32411:I
intermediary field_32411
Lnet/minecraft/class_513;field_32411:I
official a
Lfxv;a:I
-
PAGE_FORWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector named PAGE_FORWARD_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_FORWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45552
Lnet/minecraft/class_513;field_45552:Lnet/minecraft/class_8666;
official b
Lfxv;b:Lfps;
-
PAGE_BACKWARD_TEXTURES
- Mappings:
Namespace Name Mixin selector named PAGE_BACKWARD_TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;PAGE_BACKWARD_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45553
Lnet/minecraft/class_513;field_45553:Lnet/minecraft/class_8666;
official c
Lfxv;c:Lfps;
-
resultButtons
- Mappings:
Namespace Name Mixin selector named resultButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultButtons:Ljava/util/List;
intermediary field_3131
Lnet/minecraft/class_513;field_3131:Ljava/util/List;
official d
Lfxv;d:Ljava/util/List;
-
hoveredResultButton
- Mappings:
Namespace Name Mixin selector named hoveredResultButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hoveredResultButton:Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;
intermediary field_3129
Lnet/minecraft/class_513;field_3129:Lnet/minecraft/class_514;
official e
Lfxv;e:Lfxx;
-
alternatesWidget
- Mappings:
Namespace Name Mixin selector named alternatesWidget
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;alternatesWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;
intermediary field_3132
Lnet/minecraft/class_513;field_3132:Lnet/minecraft/class_508;
official f
Lfxv;f:Lfxt;
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_3126
Lnet/minecraft/class_513;field_3126:Lnet/minecraft/class_310;
official g
Lfxv;g:Lfmf;
-
recipeBookWidget
- Mappings:
Namespace Name Mixin selector named recipeBookWidget
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBookWidget:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;
intermediary field_54832
Lnet/minecraft/class_513;field_54832:Lnet/minecraft/class_507;
official h
Lfxv;h:Lfxu;
-
resultCollections
- Mappings:
Namespace Name Mixin selector named resultCollections
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollections:Ljava/util/List;
intermediary field_3127
Lnet/minecraft/class_513;field_3127:Ljava/util/List;
official i
Lfxv;i:Ljava/util/List;
-
nextPageButton
- Mappings:
Namespace Name Mixin selector named nextPageButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;nextPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
intermediary field_3128
Lnet/minecraft/class_513;field_3128:Lnet/minecraft/class_361;
official j
Lfxv;j:Lfpl;
-
prevPageButton
- Mappings:
Namespace Name Mixin selector named prevPageButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;prevPageButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
intermediary field_3130
Lnet/minecraft/class_513;field_3130:Lnet/minecraft/class_361;
official k
Lfxv;k:Lfpl;
-
pageCount
private int pageCount- Mappings:
Namespace Name Mixin selector named pageCount
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;pageCount:I
intermediary field_3124
Lnet/minecraft/class_513;field_3124:I
official l
Lfxv;l:I
-
currentPage
private int currentPage- Mappings:
Namespace Name Mixin selector named currentPage
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;currentPage:I
intermediary field_3135
Lnet/minecraft/class_513;field_3135:I
official m
Lfxv;m:I
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBook
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
intermediary field_3136
Lnet/minecraft/class_513;field_3136:Lnet/minecraft/class_299;
official n
Lfxv;n:Lflq;
-
lastClickedRecipe
- Mappings:
Namespace Name Mixin selector named lastClickedRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;lastClickedRecipe:Lnet/minecraft/recipe/NetworkRecipeId;
intermediary field_3125
Lnet/minecraft/class_513;field_3125:Lnet/minecraft/class_10298;
official o
Lfxv;o:Lddk;
-
resultCollection
- Mappings:
Namespace Name Mixin selector named resultCollection
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
intermediary field_3133
Lnet/minecraft/class_513;field_3133:Lnet/minecraft/class_516;
official p
Lfxv;p:Lfxy;
-
filteringCraftable
private boolean filteringCraftable- Mappings:
Namespace Name Mixin selector named filteringCraftable
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;filteringCraftable:Z
intermediary field_52844
Lnet/minecraft/class_513;field_52844:Z
official q
Lfxv;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)V
intermediary <init>
Lnet/minecraft/class_513;<init>(Lnet/minecraft/class_507;Lnet/minecraft/class_9938;Z)V
official <init>
Lfxv;<init>(Lfxu;Lfyb;Z)V
-
-
Method Details
-
initialize
- Mappings:
Namespace Name Mixin selector named initialize
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;initialize(Lnet/minecraft/client/MinecraftClient;II)V
intermediary method_2636
Lnet/minecraft/class_513;method_2636(Lnet/minecraft/class_310;II)V
official a
Lfxv;a(Lfmf;II)V
-
setResults
public void setResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage, boolean filteringCraftable) - Mappings:
Namespace Name Mixin selector named setResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;setResults(Ljava/util/List;ZZ)V
intermediary method_2627
Lnet/minecraft/class_513;method_2627(Ljava/util/List;ZZ)V
official a
Lfxv;a(Ljava/util/List;ZZ)V
-
refreshResultButtons
private void refreshResultButtons()- Mappings:
Namespace Name Mixin selector named refreshResultButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;refreshResultButtons()V
intermediary method_2625
Lnet/minecraft/class_513;method_2625()V
official e
Lfxv;e()V
-
hideShowPageButtons
private void hideShowPageButtons()- Mappings:
Namespace Name Mixin selector named hideShowPageButtons
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideShowPageButtons()V
intermediary method_2626
Lnet/minecraft/class_513;method_2626()V
official f
Lfxv;f()V
-
draw
- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;draw(Lnet/minecraft/client/gui/DrawContext;IIIIF)V
intermediary method_2634
Lnet/minecraft/class_513;method_2634(Lnet/minecraft/class_332;IIIIF)V
official a
Lfxv;a(Lfnr;IIIIF)V
-
drawTooltip
- Mappings:
Namespace Name Mixin selector named drawTooltip
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;drawTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2628
Lnet/minecraft/class_513;method_2628(Lnet/minecraft/class_332;II)V
official a
Lfxv;a(Lfnr;II)V
-
getLastClickedRecipe
- Mappings:
Namespace Name Mixin selector named getLastClickedRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedRecipe()Lnet/minecraft/recipe/NetworkRecipeId;
intermediary method_64878
Lnet/minecraft/class_513;method_64878()Lnet/minecraft/class_10298;
official a
Lfxv;a()Lddk;
-
getLastClickedResults
- Mappings:
Namespace Name Mixin selector named getLastClickedResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getLastClickedResults()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
intermediary method_2635
Lnet/minecraft/class_513;method_2635()Lnet/minecraft/class_516;
official b
Lfxv;b()Lfxy;
-
hideAlternates
public void hideAlternates()- Mappings:
Namespace Name Mixin selector named hideAlternates
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;hideAlternates()V
intermediary method_2638
Lnet/minecraft/class_513;method_2638()V
official c
Lfxv;c()V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button, int areaLeft, int areaTop, int areaWidth, int areaHeight) - Mappings:
Namespace Name Mixin selector named mouseClicked
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;mouseClicked(DDIIIII)Z
intermediary method_2632
Lnet/minecraft/class_513;method_2632(DDIIIII)Z
official a
Lfxv;a(DDIIIII)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayed
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)V
intermediary method_64879
Lnet/minecraft/class_513;method_64879(Lnet/minecraft/class_10298;)V
official a
Lfxv;a(Lddk;)V
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector named getRecipeBook
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;
intermediary method_2633
Lnet/minecraft/class_513;method_2633()Lnet/minecraft/class_299;
official d
Lfxv;d()Lflq;
-
forEachButton
- Mappings:
Namespace Name Mixin selector named forEachButton
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;forEachButton(Ljava/util/function/Consumer;)V
intermediary method_37083
Lnet/minecraft/class_513;method_37083(Ljava/util/function/Consumer;)V
official a
Lfxv;a(Ljava/util/function/Consumer;)V
-