net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fsd
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
SLOT_MANY_CRAFTABLE_SPRITE
field_45555
SLOT_MANY_CRAFTABLE_TEXTURE
f_290655_
private static final ResourceLocation
c
SLOT_CRAFTABLE_SPRITE
field_45556
SLOT_CRAFTABLE_TEXTURE
f_291736_
private static final ResourceLocation
d
SLOT_MANY_UNCRAFTABLE_SPRITE
field_45557
SLOT_MANY_UNCRAFTABLE_TEXTURE
f_291268_
private static final ResourceLocation
e
SLOT_UNCRAFTABLE_SPRITE
field_45558
SLOT_UNCRAFTABLE_TEXTURE
f_290518_
private static final float
f
ANIMATION_TIME
field_32414
field_32414
f_170057_
private static final int
m
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
n
MORE_RECIPES_TOOLTIP
field_26595
MORE_RECIPES_TEXT
f_100462_
private RecipeBookMenu<?, ?>
o
menu
field_3137
craftingScreenHandler
f_100463_
private RecipeBook
p
book
field_3138
recipeBook
f_100464_
private RecipeCollection
q
collection
field_3142
resultCollection
f_100465_
private float
r
time
field_3140
time
f_100466_
private float
s
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(fse arg0, fsb 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(fhz arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282779_, int p_282744_, int p_282439_, float arg3)
private List<RecipeHolder<?>>
f()
getOrderedRecipes()
method_2639()
getResults()
m_100490_()
public boolean
b()
isOnlyOption()
method_2642()
hasResults()
m_100482_()
public RecipeHolder<?>
c()
getRecipe()
method_2643()
currentRecipe()
m_100488_()
public List<Component>
e()
getTooltipText()
method_2644()
getTooltip()
m_280187_()
public void
a(fmi arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public int
y()
getWidth()
method_25368()
getWidth()
m_5711_()
protected boolean
j(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int arg0)
m_7972_(int arg0)