Enum Class ColorLerper.Type

java.lang.Object
java.lang.Enum<ColorLerper.Type>
net.minecraft.client.util.ColorLerper.Type
All Implemented Interfaces:
Serializable, Comparable<ColorLerper.Type>, Constable
Enclosing class:
ColorLerper

@Environment(CLIENT) public static enum ColorLerper.Type extends Enum<ColorLerper.Type>
Mappings:
Namespace Name
named net/minecraft/client/util/ColorLerper$Type
intermediary net/minecraft/class_11462$class_11463
official gbc$a
  • Enum Constant Details

    • SHEEP

      public static final ColorLerper.Type SHEEP
      Mappings:
      Namespace Name Mixin selector
      named SHEEP Lnet/minecraft/client/util/ColorLerper$Type;SHEEP:Lnet/minecraft/client/util/ColorLerper$Type;
      intermediary field_60687 Lnet/minecraft/class_11462$class_11463;field_60687:Lnet/minecraft/class_11462$class_11463;
      official a Lgbc$a;a:Lgbc$a;
    • MUSIC_NOTE

      public static final ColorLerper.Type MUSIC_NOTE
      Mappings:
      Namespace Name Mixin selector
      named MUSIC_NOTE Lnet/minecraft/client/util/ColorLerper$Type;MUSIC_NOTE:Lnet/minecraft/client/util/ColorLerper$Type;
      intermediary field_60688 Lnet/minecraft/class_11462$class_11463;field_60688:Lnet/minecraft/class_11462$class_11463;
      official b Lgbc$a;b:Lgbc$a;
  • Field Details

    • colorDuration

      final int colorDuration
      Mappings:
      Namespace Name Mixin selector
      named colorDuration Lnet/minecraft/client/util/ColorLerper$Type;colorDuration:I
      intermediary field_60689 Lnet/minecraft/class_11462$class_11463;field_60689:I
      official c Lgbc$a;c:I
    • colorToArgb

      private final Map<DyeColor,Integer> colorToArgb
      Mappings:
      Namespace Name Mixin selector
      named colorToArgb Lnet/minecraft/client/util/ColorLerper$Type;colorToArgb:Ljava/util/Map;
      intermediary field_60690 Lnet/minecraft/class_11462$class_11463;field_60690:Ljava/util/Map;
      official d Lgbc$a;d:Ljava/util/Map;
    • colors

      final DyeColor[] colors
      Mappings:
      Namespace Name Mixin selector
      named colors Lnet/minecraft/client/util/ColorLerper$Type;colors:[Lnet/minecraft/util/DyeColor;
      intermediary field_60691 Lnet/minecraft/class_11462$class_11463;field_60691:[Lnet/minecraft/class_1767;
      official e Lgbc$a;e:[Ldgn;
  • Constructor Details

    • Type

      private Type(int colorDuration, DyeColor[] colors, float multiplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/ColorLerper$Type;<init>(Ljava/lang/String;II[Lnet/minecraft/util/DyeColor;F)V
      intermediary <init> Lnet/minecraft/class_11462$class_11463;<init>(Ljava/lang/String;II[Lnet/minecraft/class_1767;F)V
      official <init> Lgbc$a;<init>(Ljava/lang/String;II[Ldgn;F)V
  • Method Details

    • values

      public static ColorLerper.Type[] 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 ColorLerper.Type 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
    • getArgb

      public final int getArgb(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      named getArgb Lnet/minecraft/client/util/ColorLerper$Type;getArgb(Lnet/minecraft/util/DyeColor;)I
      intermediary method_71793 Lnet/minecraft/class_11462$class_11463;method_71793(Lnet/minecraft/class_1767;)I
      official a Lgbc$a;a(Ldgn;)I