net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

eds
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<?>
r
menu
field_3137
craftingScreenHandler
f_100463_
private RecipeBook
s
book
field_3138
recipeBook
f_100464_
private RecipeCollection
t
collection
field_3142
resultCollection
f_100465_
private float
u
time
field_3140
time
f_100466_
private float
v
animationTime
field_3139
bounce
f_100467_
private int
w
currentIndex
field_3141
currentResultIndex
f_100468_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(edt arg0, edq 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
a(int arg0, int arg1)
setPosition(int arg0, int arg1)
method_2641(int arg0, int arg1)
setPos(int x, int y)
m_100474_(int p_100476_, int arg1)
public void
b(dql 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<?>>
k()
getOrderedRecipes()
method_2639()
getResults()
m_100490_()
public boolean
b()
isOnlyOption()
method_2642()
hasResults()
m_100482_()
public Recipe<?>
j()
getRecipe()
method_2643()
currentRecipe()
m_100488_()
public List<Component>
a(eaq arg0)
getTooltipText(Screen arg0)
method_2644(class_437 arg0)
getTooltip(Screen screen)
m_100477_(C_3583_ arg0)
public void
a(dzd arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public int
f()
getWidth()
method_25368()
getWidth()
m_5711_()
protected boolean
d_(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int arg0)
m_7972_(int arg0)