net.minecraft.client.gui.screens.recipebook

public class RecipeBookPage

fxw
net.minecraft.client.gui.screens.recipebook.RecipeBookPage
net.minecraft.class_513
net.minecraft.client.gui.screen.recipebook.RecipeBookResults

Field summary

Modifier and TypeField
public static final int
a
ITEMS_PER_PAGE
field_32411
field_32411
private static final WidgetSprites
b
PAGE_FORWARD_SPRITES
field_45552
PAGE_FORWARD_TEXTURES
private static final WidgetSprites
c
PAGE_BACKWARD_SPRITES
field_45553
PAGE_BACKWARD_TEXTURES
private final List<RecipeButton>
d
buttons
field_3131
resultButtons
private RecipeButton
e
hoveredButton
field_3129
hoveredResultButton
private final OverlayRecipeComponent
f
overlay
field_3132
alternatesWidget
private Minecraft
g
minecraft
field_3126
client
private final RecipeBookComponent<?>
h
parent
field_54832
recipeBookWidget
private List<RecipeCollection>
i
recipeCollections
field_3127
resultCollections
private StateSwitchingButton
j
forwardButton
field_3128
nextPageButton
private StateSwitchingButton
k
backButton
field_3130
prevPageButton
private int
l
totalPages
field_3124
pageCount
private int
m
currentPage
field_3135
currentPage
private ClientRecipeBook
n
recipeBook
field_3136
recipeBook
private RecipeDisplayId
o
lastClickedRecipe
field_3125
lastClickedRecipe
private RecipeCollection
p
lastClickedRecipeCollection
field_3133
resultCollection
private boolean
q
isFiltering
field_52844
filteringCraftable

Constructor summary

ModifierConstructor
public (RecipeBookComponent<?> recipeBookWidget, SlotSelectTime currentIndexProvider, boolean furnace)

Method summary

Modifier and TypeMethod
public void
a(fmg arg0, int arg1, int arg2)
init(Minecraft arg0, int arg1, int arg2)
method_2636(class_310 arg0, int arg1, int arg2)
initialize(MinecraftClient client, int parentLeft, int parentTop)
public void
a(List<fxz> arg0, boolean arg1, boolean arg2)
updateCollections(List<RecipeCollection> arg0, boolean arg1, boolean arg2)
method_2627(List<class_516> arg0, boolean arg1, boolean arg2)
setResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage, boolean filteringCraftable)
private void
e()
updateButtonsForPage()
method_2625()
refreshResultButtons()
private void
f()
updateArrowButtons()
method_2626()
hideShowPageButtons()
public void
a(fns arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
render(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
method_2634(class_332 arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
draw(DrawContext context, int x, int y, int mouseX, int mouseY, float delta)
public void
a(fns arg0, int arg1, int arg2)
renderTooltip(GuiGraphics arg0, int arg1, int arg2)
method_2628(class_332 arg0, int arg1, int arg2)
drawTooltip(DrawContext context, int x, int y)
public RecipeDisplayId
a()
getLastClickedRecipe()
method_64878()
getLastClickedRecipe()
public RecipeCollection
b()
getLastClickedRecipeCollection()
method_2635()
getLastClickedResults()
public void
c()
setInvisible()
method_2638()
hideAlternates()
public boolean
a(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
mouseClicked(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
method_2632(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
mouseClicked(double mouseX, double mouseY, int button, int areaLeft, int areaTop, int areaWidth, int areaHeight)
public void
a(ddl arg0)
recipeShown(RecipeDisplayId arg0)
method_64879(class_10298 arg0)
onRecipeDisplayed(NetworkRecipeId recipeId)
public ClientRecipeBook
d()
getRecipeBook()
method_2633()
getRecipeBook()
protected void
a(Consumer<fod> arg0)
listButtons(Consumer<AbstractWidget> arg0)
method_37083(Consumer<class_339> arg0)
forEachButton(Consumer<ClickableWidget> consumer)