类 RecipeGroupButtonWidget

  • 所有已实现的接口:
    Drawable, Element

    @Environment(CLIENT)
    public class RecipeGroupButtonWidget
    extends ToggleButtonWidget
    Mappings:
    Namespace Name
    official ecg
    intermediary net/minecraft/class_512
    named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
    • 字段详细资料

      • field_32412

        private static final float field_32412
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official u Lecg;u:F
        intermediary field_32412 Lnet/minecraft/class_512;field_32412:F
        named field_32412 Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
      • category

        private final RecipeBookGroup category
        Mappings:
        Namespace Name Mixin selector
        official t Lecg;t:Ldut;
        intermediary field_3123 Lnet/minecraft/class_512;field_3123:Lnet/minecraft/class_314;
        named category Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;category:Lnet/minecraft/client/recipebook/RecipeBookGroup;
      • bounce

        private float bounce
        Mappings:
        Namespace Name Mixin selector
        official v Lecg;v:F
        intermediary field_3122 Lnet/minecraft/class_512;field_3122:F
        named bounce Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
    • 构造器详细资料

      • RecipeGroupButtonWidget

        public RecipeGroupButtonWidget​(RecipeBookGroup category)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lecg;<init>(Ldut;)V
        intermediary <init> Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_314;)V
        named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/recipebook/RecipeBookGroup;)V
    • 方法详细资料

      • checkForNewRecipes

        public void checkForNewRecipes​(MinecraftClient client)
        Mappings:
        Namespace Name Mixin selector
        official a Lecg;a(Ldum;)V
        intermediary method_2622 Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_310;)V
        named checkForNewRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/MinecraftClient;)V
      • renderButton

        public void renderButton​(MatrixStack matrices,
                                 int mouseX,
                                 int mouseY,
                                 float delta)
        覆盖:
        renderButton 在类中 ToggleButtonWidget
        Mappings:
        Namespace Name Mixin selector
        official b Ldvu;b(Ldpi;IIF)V
        intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
        named renderButton Lnet/minecraft/client/gui/widget/AbstractButtonWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
      • renderIcons

        private void renderIcons​(ItemRenderer itemRenderer)
        Mappings:
        Namespace Name Mixin selector
        official a Lecg;a(Lero;)V
        intermediary method_2621 Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_918;)V
        named renderIcons Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/render/item/ItemRenderer;)V
      • getCategory

        public RecipeBookGroup getCategory()
        Mappings:
        Namespace Name Mixin selector
        official b Lecg;b()Ldut;
        intermediary method_2623 Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_314;
        named getCategory Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/client/recipebook/RecipeBookGroup;
      • hasKnownRecipes

        public boolean hasKnownRecipes​(ClientRecipeBook recipeBook)
        Mappings:
        Namespace Name Mixin selector
        official a Lecg;a(Ldtz;)Z
        intermediary method_2624 Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Z
        named hasKnownRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z