net.minecraft.client.gui.screens.recipebook

public class RecipeButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

ggq
net.minecraft.client.gui.screens.recipebook.RecipeButton
net.minecraft.class_514

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SLOT_MANY_CRAFTABLE_SPRITE
field_45555
private static final ResourceLocation
b
SLOT_CRAFTABLE_SPRITE
field_45556
private static final ResourceLocation
c
SLOT_MANY_UNCRAFTABLE_SPRITE
field_45557
private static final ResourceLocation
d
SLOT_UNCRAFTABLE_SPRITE
field_45558
private static final float
e
ANIMATION_TIME
field_32414
private static final int
f
BACKGROUND_SIZE
field_32415
private static final Component
m
MORE_RECIPES_TOOLTIP
field_26595
private RecipeCollection
n
collection
field_3142
private List<RecipeButton$ResolvedEntry>
o
selectedEntries
field_54834
private boolean
p
allRecipesHaveSameResultDisplay
field_55503
private final SlotSelectTime
q
slotSelectTime
field_52846
private float
r
animationTime
field_3139

Constructor summary

ModifierConstructor
public (SlotSelectTime arg0)

Method summary

Modifier and TypeMethod
public void
a(ggr arg0, boolean arg1, ggo arg2, bbv arg3)
init(RecipeCollection arg0, boolean arg1, RecipeBookPage arg2, ContextMap arg3)
method_2640(class_516 arg0, boolean arg1, class_513 arg2, class_10352 arg3)
private static boolean
a(List<ggq$a> arg0)
allRecipesHaveSameResultDisplay(List<RecipeButton$ResolvedEntry> arg0)
method_65812(List<class_514$class_10330> arg0)
public RecipeCollection
a()
getCollection()
method_2645()
public void
b(fvb 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)
private boolean
g()
hasMultipleRecipes()
method_62048()
public boolean
b()
isOnlyOption()
method_2642()
public RecipeDisplayId
c()
getCurrentRecipe()
method_64881()
public ItemStack
e()
getDisplayStack()
method_64882()
public List<Component>
a(dba arg0)
getTooltipText(ItemStack arg0)
method_2644(class_1799 arg0)
public void
a(fzp arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
public int
z()
getWidth()
method_25368()
protected boolean
g(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)