net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

ews
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
k
book
field_3138
recipeBook
f_100464_
private RecipeCollection
l
collection
field_3142
resultCollection
f_100465_
private float
m
time
field_3140
time
f_100466_
private float
n
animationTime
field_3139
bounce
f_100467_
private int
o
currentIndex
field_3141
currentResultIndex
f_100468_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(ewt arg0, ewq 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(ehe arg0, int arg1, int arg2, float arg3)
renderWidget(PoseStack arg0, int arg1, int arg2, float arg3)
method_48579(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_87963_(C_3181_ p_100485_, int p_100486_, int p_100487_, float arg3)
private List<Recipe<?>>
f()
getOrderedRecipes()
method_2639()
getResults()
m_100490_()
public boolean
b()
isOnlyOption()
method_2642()
hasResults()
m_100482_()
public Recipe<?>
e()
getRecipe()
method_2643()
currentRecipe()
m_100488_()
public List<Component>
a(etd arg0)
getTooltipText(Screen arg0)
method_2644(class_437 arg0)
getTooltip(Screen screen)
m_100477_(C_3583_ arg0)
public void
a(ere arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public int
j()
getWidth()
method_25368()
getWidth()
m_5711_()
protected boolean
c(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int arg0)
m_7972_(int arg0)