net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, NarratableEntry, NarrationSupplier

esn
net.minecraft.client.gui.screens.recipebook.RecipeButton
net.minecraft.class_514
net.minecraft.client.gui.screen.recipebook.AnimatedResultButton
net.minecraft.src.C_3721_

Field summary

Modifier and TypeField
private static final ResourceLocation
b
RECIPE_BOOK_LOCATION
field_3143
BACKGROUND_TEXTURE
f_100461_
private static final float
c
ANIMATION_TIME
field_32414
field_32414
f_170057_
private static final int
d
BACKGROUND_SIZE
field_32415
field_32415
f_170058_
public static final int
a
TICKS_TO_SWAP
field_32413
field_32413
f_170056_
private static final Component
e
MORE_RECIPES_TOOLTIP
field_26595
MORE_RECIPES_TEXT
f_100462_
private RecipeBookMenu<?>
f
menu
field_3137
craftingScreenHandler
f_100463_
private RecipeBook
q
book
field_3138
recipeBook
f_100464_
private RecipeCollection
r
collection
field_3142
resultCollection
f_100465_
private float
s
time
field_3140
time
f_100466_
private float
t
animationTime
field_3139
bounce
f_100467_
private int
u
currentIndex
field_3141
currentResultIndex
f_100468_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(eso arg0, esl arg1)
init(RecipeCollection arg0, RecipeBookPage arg1)
method_2640(class_516 arg0, class_513 arg1)
showResultCollection(RecipeResultCollection resultCollection, RecipeBookResults results)
m_100479_(C_3722_ p_100481_, C_3719_ arg1)
public RecipeCollection
a()
getCollection()
method_2645()
getResultCollection()
m_100471_()
public void
b(eed arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_100485_, int p_100486_, int p_100487_, float arg3)
private List<Recipe<?>>
e()
getOrderedRecipes()
method_2639()
getResults()
m_100490_()
public boolean
b()
isOnlyOption()
method_2642()
hasResults()
m_100482_()
public Recipe<?>
d()
getRecipe()
method_2643()
currentRecipe()
m_100488_()
public List<Component>
a(epb arg0)
getTooltipText(Screen arg0)
method_2644(class_437 arg0)
getTooltip(Screen screen)
m_100477_(C_3583_ arg0)
public void
a(enk arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public int
n()
getWidth()
method_25368()
getWidth()
m_5711_()
protected boolean
e(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int arg0)
m_7972_(int arg0)