net.minecraft.client.gui.screens.recipebook

public class RecipeBookPage

fgq
net.minecraft.client.gui.screens.recipebook.RecipeBookPage
net.minecraft.class_513
net.minecraft.client.gui.screen.recipebook.RecipeBookResults
net.minecraft.src.C_3719_

Field summary

Modifier and TypeField
public static final int
a
ITEMS_PER_PAGE
field_32411
field_32411
f_170052_
private static final WidgetSprites
b
PAGE_FORWARD_SPRITES
field_45552
PAGE_FORWARD_TEXTURES
f_291424_
private static final WidgetSprites
c
PAGE_BACKWARD_SPRITES
field_45553
PAGE_BACKWARD_TEXTURES
f_291055_
private final List<RecipeButton>
d
buttons
field_3131
resultButtons
f_100394_
private RecipeButton
e
hoveredButton
field_3129
hoveredResultButton
f_100395_
private final OverlayRecipeComponent
f
overlay
field_3132
alternatesWidget
f_100396_
private Minecraft
g
minecraft
field_3126
client
f_100397_
private final List<RecipeShownListener>
h
showListeners
field_3134
recipeDisplayListeners
f_100398_
private List<RecipeCollection>
i
recipeCollections
field_3127
resultCollections
f_100399_
private StateSwitchingButton
j
forwardButton
field_3128
nextPageButton
f_100400_
private StateSwitchingButton
k
backButton
field_3130
prevPageButton
f_100401_
private int
l
totalPages
field_3124
pageCount
f_100402_
private int
m
currentPage
field_3135
currentPage
f_100403_
private RecipeBook
n
recipeBook
field_3136
recipeBook
f_100404_
private RecipeHolder<?>
o
lastClickedRecipe
field_3125
lastClickedRecipe
f_100405_
private RecipeCollection
p
lastClickedRecipeCollection
field_3133
resultCollection
f_100406_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(evi 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)
m_100428_(C_3391_ p_100430_, int p_100431_, int arg2)
public void
a(fgp arg0)
addListener(RecipeBookComponent arg0)
method_2630(class_507 arg0)
setGui(RecipeBookWidget widget)
m_100432_(C_3718_ arg0)
public void
a(List<fgt> arg0, boolean arg1)
updateCollections(List<RecipeCollection> arg0, boolean arg1)
method_2627(List<class_516> arg0, boolean arg1)
setResults(List<RecipeResultCollection> resultCollections, boolean resetCurrentPage)
m_100436_(List<C_3722_> p_100438_, boolean arg1)
private void
f()
updateButtonsForPage()
method_2625()
refreshResultButtons()
m_100443_()
private void
g()
updateArrowButtons()
method_2626()
hideShowPageButtons()
m_100444_()
public void
a(ewu 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)
m_280282_(C_279497_ p_281888_, int p_281904_, int p_282278_, int p_282424_, int p_281712_, float arg5)
public void
a(ewu 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)
m_280625_(C_279497_ p_282626_, int p_282490_, int arg2)
public RecipeHolder<?>
a()
getLastClickedRecipe()
method_2631()
getLastClickedRecipe()
m_100408_()
public RecipeCollection
b()
getLastClickedRecipeCollection()
method_2635()
getLastClickedResults()
m_100439_()
public void
c()
setInvisible()
method_2638()
hideAlternates()
m_100440_()
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)
m_100409_(double p_100411_, double p_100413_, int p_100415_, int p_100416_, int arg4, int arg5, int arg6)
public void
a(List<cqe<?>> arg0)
recipesShown(List<RecipeHolder<?>> arg0)
method_2629(List<class_8786<?>> arg0)
onRecipesDisplayed(List<RecipeEntry<?>> recipes)
m_100434_(List<C_290175_<?>> arg0)
public Minecraft
d()
getMinecraft()
method_2637()
getClient()
m_100441_()
public RecipeBook
e()
getRecipeBook()
method_2633()
getRecipeBook()
m_100442_()
protected void
a(Consumer<exe> arg0)
listButtons(Consumer<AbstractWidget> arg0)
method_37083(Consumer<class_339> arg0)
forEachButton(Consumer<ClickableWidget> consumer)
m_170053_(Consumer<C_3449_> arg0)