Class RecipeAlternativesWidget.CraftingAlternativeButtonWidget

java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.recipebook.RecipeAlternativesWidget.AlternativeButtonWidget
net.minecraft.client.gui.screen.recipebook.RecipeAlternativesWidget.CraftingAlternativeButtonWidget
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Enclosing class:
RecipeAlternativesWidget

@Environment(CLIENT) private class RecipeAlternativesWidget.CraftingAlternativeButtonWidget extends RecipeAlternativesWidget.AlternativeButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget
intermediary net/minecraft/class_508$class_9936
official fxt$a
  • Field Details

    • CRAFTING_OVERLAY

      private static final Identifier CRAFTING_OVERLAY
      Mappings:
      Namespace Name Mixin selector
      named CRAFTING_OVERLAY Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;CRAFTING_OVERLAY:Lnet/minecraft/util/Identifier;
      intermediary field_52830 Lnet/minecraft/class_508$class_9936;field_52830:Lnet/minecraft/class_2960;
      official b Lfxt$a;b:Lalz;
    • CRAFTING_OVERLAY_HIGHLIGHTED

      private static final Identifier CRAFTING_OVERLAY_HIGHLIGHTED
      Mappings:
      Namespace Name Mixin selector
      named CRAFTING_OVERLAY_HIGHLIGHTED Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;CRAFTING_OVERLAY_HIGHLIGHTED:Lnet/minecraft/util/Identifier;
      intermediary field_52831 Lnet/minecraft/class_508$class_9936;field_52831:Lnet/minecraft/class_2960;
      official c Lfxt$a;c:Lalz;
    • CRAFTING_OVERLAY_DISABLED

      private static final Identifier CRAFTING_OVERLAY_DISABLED
      Mappings:
      Namespace Name Mixin selector
      named CRAFTING_OVERLAY_DISABLED Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;CRAFTING_OVERLAY_DISABLED:Lnet/minecraft/util/Identifier;
      intermediary field_52832 Lnet/minecraft/class_508$class_9936;field_52832:Lnet/minecraft/class_2960;
      official d Lfxt$a;d:Lalz;
    • CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED

      private static final Identifier CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED
      Mappings:
      Namespace Name Mixin selector
      named CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED:Lnet/minecraft/util/Identifier;
      intermediary field_52833 Lnet/minecraft/class_508$class_9936;field_52833:Lnet/minecraft/class_2960;
      official e Lfxt$a;e:Lalz;
    • field_54828

      private static final int field_54828
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54828 Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;field_54828:I
      intermediary field_54828 Lnet/minecraft/class_508$class_9936;field_54828:I
      official f Lfxt$a;f:I
    • field_54829

      private static final int field_54829
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54829 Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;field_54829:I
      intermediary field_54829 Lnet/minecraft/class_508$class_9936;field_54829:I
      official m Lfxt$a;m:I
  • Constructor Details

    • CraftingAlternativeButtonWidget

      public CraftingAlternativeButtonWidget(int x, int y, NetworkRecipeId recipeId, RecipeDisplay display, ContextParameterMap context, boolean craftable)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;IILnet/minecraft/recipe/NetworkRecipeId;Lnet/minecraft/recipe/display/RecipeDisplay;Lnet/minecraft/util/context/ContextParameterMap;Z)V
      intermediary <init> Lnet/minecraft/class_508$class_9936;<init>(Lnet/minecraft/class_508;IILnet/minecraft/class_10298;Lnet/minecraft/class_10295;Lnet/minecraft/class_10352;Z)V
      official <init> Lfxt$a;<init>(Lfxt;IILddk;Lddi;Lbbp;Z)V
  • Method Details

    • collectInputSlots

      Mappings:
      Namespace Name Mixin selector
      named collectInputSlots Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$CraftingAlternativeButtonWidget;collectInputSlots(Lnet/minecraft/recipe/display/RecipeDisplay;Lnet/minecraft/util/context/ContextParameterMap;)Ljava/util/List;
      intermediary method_62036 Lnet/minecraft/class_508$class_9936;method_62036(Lnet/minecraft/class_10295;Lnet/minecraft/class_10352;)Ljava/util/List;
      official a Lfxt$a;a(Lddi;Lbbp;)Ljava/util/List;
    • getOverlayTexture

      protected Identifier getOverlayTexture(boolean enabled)
      Specified by:
      getOverlayTexture in class RecipeAlternativesWidget.AlternativeButtonWidget
      Mappings:
      Namespace Name Mixin selector
      named getOverlayTexture Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;getOverlayTexture(Z)Lnet/minecraft/util/Identifier;
      intermediary method_62039 Lnet/minecraft/class_508$class_509;method_62039(Z)Lnet/minecraft/class_2960;
      official b Lfxt$b;b(Z)Lalz;