net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fxx
net.minecraft.client.gui.screens.recipebook.RecipeButton
net.minecraft.class_514
net.minecraft.unmapped.C_klcvwyjp
net.minecraft.client.gui.screen.recipebook.AnimatedResultButton
net.minecraft.client.gui.widget.button.recipe.book.AnimatedResultButton
net.minecraft.src.C_3721_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SLOT_MANY_CRAFTABLE_SPRITE
field_45555
f_topsxnup
SLOT_MANY_CRAFTABLE_TEXTURE
MANY_CRAFTABLE
f_290655_
private static final ResourceLocation
b
SLOT_CRAFTABLE_SPRITE
field_45556
f_fkctcypg
SLOT_CRAFTABLE_TEXTURE
CRAFTABLE
f_291736_
private static final ResourceLocation
c
SLOT_MANY_UNCRAFTABLE_SPRITE
field_45557
f_nqkdmdvm
SLOT_MANY_UNCRAFTABLE_TEXTURE
MANY_UNCRAFTABLE
f_291268_
private static final ResourceLocation
d
SLOT_UNCRAFTABLE_SPRITE
field_45558
f_abosftzj
SLOT_UNCRAFTABLE_TEXTURE
UNCRAFTABLE
f_290518_
private static final float
e
ANIMATION_TIME
field_32414
f_uksllsxw
field_32414
ANIMATION_TIME
f_170057_
private static final int
f
BACKGROUND_SIZE
field_32415
f_moxjuslp
field_32415
BACKGROUND_SIZE
f_170058_
private static final Component
m
MORE_RECIPES_TOOLTIP
field_26595
f_vnxtmlmb
MORE_RECIPES_TEXT
MORE_RECIPES
f_100462_
private RecipeCollection
n
collection
field_3142
f_eipletue
resultCollection
resultCollection
f_100465_
private List<RecipeButton$ResolvedEntry>
o
selectedEntries
field_54834
f_rtemycrr
results
f_348965_
private final SlotSelectTime
p
slotSelectTime
field_52846
f_jnlbxamx
currentIndexProvider
f_347899_
private float
q
animationTime
field_3139
f_rezjiqqj
bounce
bounce
f_100467_

Constructor summary

ModifierConstructor
public (SlotSelectTime currentIndexProvider)

Method summary

Modifier and TypeMethod
public void
a(fxy arg0, boolean arg1, fxv arg2, bbp arg3)
init(RecipeCollection arg0, boolean arg1, RecipeBookPage arg2, ContextMap arg3)
method_2640(class_516 arg0, boolean arg1, class_513 arg2, class_10352 arg3)
m_tpmtoqta(C_ymmazfhq arg0, boolean arg1, C_hbytyuck arg2, C_zcrtzabd arg3)
showResultCollection(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context)
showResultCollection(RecipeResultCollection resultCollection, boolean arg1, RecipeBookResults results, ContextMap arg3)
m_100479_(C_3722_ p_363893_, boolean p_100481_, C_3719_ p_364354_, C_346206_ arg3)
public RecipeCollection
a()
getCollection()
method_2645()
m_hlcjvxph()
getResultCollection()
getResultCollection()
m_100471_()
public void
b(fnr 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)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282779_, int p_282744_, int p_282439_, float arg3)
private boolean
g()
hasMultipleRecipes()
method_62048()
m_csimynnz()
hasMultipleResults()
m_357340_()
public boolean
b()
isOnlyOption()
method_2642()
m_xhkmtsay()
hasSingleResult()
hasResults()
m_100482_()
public RecipeDisplayId
c()
getCurrentRecipe()
method_64881()
m_eniiovfb()
getCurrentId()
m_353145_()
public ItemStack
e()
getDisplayStack()
method_64882()
m_mnquzsoe()
getDisplayStack()
m_352302_()
public List<Component>
a(cxo arg0)
getTooltipText(ItemStack arg0)
method_2644(class_1799 arg0)
m_pzzjamne(C_sddaxwyk arg0)
getTooltip(ItemStack stack)
getTooltip(ItemStack stack)
m_280187_(C_1391_ arg0)
public void
a(fsc arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
m_acsoyrbk(C_pofrkllk arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
updateNarration(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public int
y()
getWidth()
method_25368()
m_waltocgu()
getWidth()
getWidth()
m_5711_()
protected boolean
h(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
m_ncxnkkvw(int arg0)
isValidClickButton(int arg0)
isValidClickButton(int arg0)
m_7972_(int arg0)