net.minecraft.client.gui.screens.recipebook

public class RecipeBookTabButton

extends ImageButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

gwx
net.minecraft.client.gui.screens.recipebook.RecipeBookTabButton
net.minecraft.class_512
net.minecraft.client.gui.screen.recipebook.RecipeGroupButtonWidget
net.minecraft.src.C_3720_

字段概要

修饰符与类型字段
private static final WidgetSprites
d
SPRITES
field_45554
TEXTURES
f_290704_
public static final int
b
WIDTH
field_64554
field_64554
f_433246_
public static final int
c
HEIGHT
field_64555
field_64555
f_435882_
private final RecipeBookComponent$TabInfo
u
tabInfo
field_54833
tab
f_348775_
private static final float
v
ANIMATION_TIME
field_32412
field_32412
f_170055_
private float
w
animationTime
field_3122
bounce
f_100446_
private boolean
x
selected
field_64556
groupFocused
f_437078_

构造函数概要

修饰符构造函数
public (int x, int y, RecipeBookComponent$TabInfo tab, Button$OnPress onPress)

方法概要

修饰符与类型方法
public void
a(geu arg0, boolean arg1)
startAnimation(ClientRecipeBook arg0, boolean arg1)
method_2622(class_299 arg0, boolean arg1)
checkForNewRecipes(ClientRecipeBook recipeBook, boolean filteringCraftable)
m_100451_(C_3375_ p_361650_, boolean arg1)
public void
b(gir arg0, int arg1, int arg2, float arg3)
renderContents(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_75752(class_332 arg0, int arg1, int arg2, float arg3)
drawIcon(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_458455_, int p_460676_, int p_456377_, float arg3)
protected void
d(gir arg0)
handleCursor(GuiGraphics arg0)
method_76256(class_332 arg0)
setCursor(DrawContext arg0)
m_440115_(C_279497_ arg0)
private void
b(gir arg0)
renderIcon(GuiGraphics arg0)
method_2621(class_332 arg0)
renderIcons(DrawContext context)
m_280194_(C_279497_ arg0)
public ExtendedRecipeBookCategory
a()
getCategory()
method_2623()
getCategory()
m_100455_()
public boolean
a(geu arg0)
updateVisibility(ClientRecipeBook arg0)
method_2624(class_299 arg0)
hasKnownRecipes(ClientRecipeBook recipeBook)
m_100449_(C_3375_ arg0)
public void
d()
select()
method_76637()
focus()
m_439258_()
public void
e()
unselect()
method_76638()
unfocus()
m_443382_()