net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fxy
net.minecraft.client.gui.screens.recipebook.RecipeButton
net.minecraft.class_514
net.minecraft.client.gui.screen.recipebook.AnimatedResultButton

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SLOT_MANY_CRAFTABLE_SPRITE
field_45555
SLOT_MANY_CRAFTABLE_TEXTURE
private static final ResourceLocation
b
SLOT_CRAFTABLE_SPRITE
field_45556
SLOT_CRAFTABLE_TEXTURE
private static final ResourceLocation
c
SLOT_MANY_UNCRAFTABLE_SPRITE
field_45557
SLOT_MANY_UNCRAFTABLE_TEXTURE
private static final ResourceLocation
d
SLOT_UNCRAFTABLE_SPRITE
field_45558
SLOT_UNCRAFTABLE_TEXTURE
private static final float
e
ANIMATION_TIME
field_32414
field_32414
private static final int
f
BACKGROUND_SIZE
field_32415
field_32415
private static final Component
m
MORE_RECIPES_TOOLTIP
field_26595
MORE_RECIPES_TEXT
private RecipeCollection
n
collection
field_3142
resultCollection
private List<RecipeButton$ResolvedEntry>
o
selectedEntries
field_54834
results
private final SlotSelectTime
p
slotSelectTime
field_52846
currentIndexProvider
private float
q
animationTime
field_3139
bounce

Constructor summary

ModifierConstructor
public (SlotSelectTime currentIndexProvider)

Method summary

Modifier and TypeMethod
public void
a(fxz arg0, boolean arg1, fxw 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)
showResultCollection(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context)
public RecipeCollection
a()
getCollection()
method_2645()
getResultCollection()
public void
b(fns 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)
private boolean
g()
hasMultipleRecipes()
method_62048()
hasMultipleResults()
public boolean
b()
isOnlyOption()
method_2642()
hasSingleResult()
public RecipeDisplayId
c()
getCurrentRecipe()
method_64881()
getCurrentId()
public ItemStack
e()
getDisplayStack()
method_64882()
getDisplayStack()
public List<Component>
a(cxp arg0)
getTooltipText(ItemStack arg0)
method_2644(class_1799 arg0)
getTooltip(ItemStack stack)
public void
a(fsd arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public int
y()
getWidth()
method_25368()
getWidth()
protected boolean
h(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int arg0)