net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

gcd
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

Field summary

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

Constructor summary

ModifierConstructor
public (SlotSelectTime currentIndexProvider)

Method summary

Modifier and TypeMethod
public void
a(gce arg0, boolean arg1, gcb arg2, baz 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)
private static boolean
a(List<gcd$a> arg0)
allRecipesHaveSameResultDisplay(List<RecipeButton$ResolvedEntry> arg0)
method_65812(List<class_514$class_10330> arg0)
m_vqspbrdc(List<C_klcvwyjp$C_kuqnfeov> arg0)
areAllResultsEqual(List<AnimatedResultButton$Result> results)
public RecipeCollection
a()
getCollection()
method_2645()
m_hlcjvxph()
getResultCollection()
getResultCollection()
public void
b(frv 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)
private boolean
g()
hasMultipleRecipes()
method_62048()
m_csimynnz()
hasMultipleResults()
public boolean
b()
isOnlyOption()
method_2642()
m_xhkmtsay()
hasSingleResult()
hasResults()
public RecipeDisplayId
c()
getCurrentRecipe()
method_64881()
m_eniiovfb()
getCurrentId()
public ItemStack
e()
getDisplayStack()
method_64882()
m_mnquzsoe()
getDisplayStack()
public List<Component>
a(czd arg0)
getTooltipText(ItemStack arg0)
method_2644(class_1799 arg0)
m_pzzjamne(C_sddaxwyk arg0)
getTooltip(ItemStack stack)
getTooltip(ItemStack stack)
public void
a(fwg arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
m_acsoyrbk(C_pofrkllk arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
updateNarration(NarrationMessageBuilder arg0)
public int
A()
getWidth()
method_25368()
m_waltocgu()
getWidth()
getWidth()
protected boolean
g(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
m_ncxnkkvw(int arg0)
isValidClickButton(int arg0)
isValidClickButton(int arg0)