Enum Class AdvancementTabType

java.lang.Object
java.lang.Enum<AdvancementTabType>
net.minecraft.client.gui.screen.advancement.AdvancementTabType
All Implemented Interfaces:
Serializable, Comparable<AdvancementTabType>, Constable

@Environment(CLIENT) enum AdvancementTabType extends Enum<AdvancementTabType>
Mappings:
Namespace Name
official epn
intermediary net/minecraft/class_453
named net/minecraft/client/gui/screen/advancement/AdvancementTabType
  • Enum Constant Details

    • ABOVE

      public static final AdvancementTabType ABOVE
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a:Lepn;
      intermediary field_2678 Lnet/minecraft/class_453;field_2678:Lnet/minecraft/class_453;
      named ABOVE Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;ABOVE:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
    • BELOW

      public static final AdvancementTabType BELOW
      Mappings:
      Namespace Name Mixin selector
      official b Lepn;b:Lepn;
      intermediary field_2673 Lnet/minecraft/class_453;field_2673:Lnet/minecraft/class_453;
      named BELOW Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;BELOW:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
    • LEFT

      public static final AdvancementTabType LEFT
      Mappings:
      Namespace Name Mixin selector
      official c Lepn;c:Lepn;
      intermediary field_2675 Lnet/minecraft/class_453;field_2675:Lnet/minecraft/class_453;
      named LEFT Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;LEFT:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
  • Field Details

    • u

      private final int u
      Mappings:
      Namespace Name Mixin selector
      official e Lepn;e:I
      intermediary field_2674 Lnet/minecraft/class_453;field_2674:I
      named u Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;u:I
    • v

      private final int v
      Mappings:
      Namespace Name Mixin selector
      official f Lepn;f:I
      intermediary field_2672 Lnet/minecraft/class_453;field_2672:I
      named v Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;v:I
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official g Lepn;g:I
      intermediary field_2671 Lnet/minecraft/class_453;field_2671:I
      named width Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official h Lepn;h:I
      intermediary field_2670 Lnet/minecraft/class_453;field_2670:I
      named height Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;height:I
    • tabCount

      private final int tabCount
      Mappings:
      Namespace Name Mixin selector
      official i Lepn;i:I
      intermediary field_2669 Lnet/minecraft/class_453;field_2669:I
      named tabCount Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;tabCount:I
  • Constructor Details

    • AdvancementTabType

      private AdvancementTabType(int u, int v, int width, int height, int tabCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lepn;<init>(Ljava/lang/String;IIIIII)V
      intermediary <init> Lnet/minecraft/class_453;<init>(Ljava/lang/String;IIIIII)V
      named <init> Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;<init>(Ljava/lang/String;IIIIII)V
  • Method Details

    • values

      public static AdvancementTabType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AdvancementTabType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTabCount

      public int getTabCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a()I
      intermediary method_2304 Lnet/minecraft/class_453;method_2304()I
      named getTabCount Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabCount()I
    • drawBackground

      public void drawBackground(MatrixStack matrices, DrawableHelper tab, int x, int y, boolean selected, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a(Leed;Leko;IIZI)V
      intermediary method_2301 Lnet/minecraft/class_453;method_2301(Lnet/minecraft/class_4587;Lnet/minecraft/class_332;IIZI)V
      named drawBackground Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/DrawableHelper;IIZI)V
    • drawIcon

      public void drawIcon(int x, int y, int index, ItemRenderer itemRenderer, ItemStack icon)
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a(IIILfjo;Lcdt;)V
      intermediary method_2306 Lnet/minecraft/class_453;method_2306(IIILnet/minecraft/class_918;Lnet/minecraft/class_1799;)V
      named drawIcon Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;drawIcon(IIILnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/item/ItemStack;)V
    • getTabX

      public int getTabX(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a(I)I
      intermediary method_2302 Lnet/minecraft/class_453;method_2302(I)I
      named getTabX Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabX(I)I
    • getTabY

      public int getTabY(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Lepn;b(I)I
      intermediary method_2305 Lnet/minecraft/class_453;method_2305(I)I
      named getTabY Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabY(I)I
    • isClickOnTab

      public boolean isClickOnTab(int screenX, int screenY, int index, double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a(IIIDD)Z
      intermediary method_2303 Lnet/minecraft/class_453;method_2303(IIIDD)Z
      named isClickOnTab Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;isClickOnTab(IIIDD)Z