Class Colors

java.lang.Object
net.minecraft.util.Colors

public class Colors extends Object
Contains constants for commonly used colors in 0xAARRGGBB format.
Mappings:
Namespace Name
named net/minecraft/util/Colors
intermediary net/minecraft/class_8012
official ayz
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Represents a variant of the color white, used so that the two alternate with each other, 0xFFBABABA.
    static final int
    Represents the color black, 0xFF000000.
    static final int
    Represents the color blue, 0xFF0000FF.
    static final int
    Represents the color cyan, 0xFF57FFE1.
    static final int
    Represents the color gray, 0xFF808080.
    static final int
    Represents the color green, 0xFF00FF00.
    static final int
    Represents the color light gray, 0xFFA0A0A0.
    static final int
    Represents the color light red, 0xFFDF5050.
    static final int
    Represents the color light yellow, 0xFFFFFF55.
    static final int
    Represents the color purple, 0xFF500050.
    static final int
    Represents the color red, 0xFFFF0000.
    static final int
    Represents the color white, 0xFFFFFFFF.
    static final int
    Represents the color yellow, 0xFFFFFF00.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • WHITE

      public static final int WHITE
      Represents the color white, 0xFFFFFFFF.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/util/Colors;WHITE:I
      intermediary field_42973 Lnet/minecraft/class_8012;field_42973:I
      official a Layz;a:I
    • BLACK

      public static final int BLACK
      Represents the color black, 0xFF000000.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BLACK Lnet/minecraft/util/Colors;BLACK:I
      intermediary field_42974 Lnet/minecraft/class_8012;field_42974:I
      official b Layz;b:I
    • GRAY

      public static final int GRAY
      Represents the color gray, 0xFF808080.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GRAY Lnet/minecraft/util/Colors;GRAY:I
      intermediary field_44941 Lnet/minecraft/class_8012;field_44941:I
      official c Layz;c:I
    • LIGHT_GRAY

      public static final int LIGHT_GRAY
      Represents the color light gray, 0xFFA0A0A0.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LIGHT_GRAY Lnet/minecraft/util/Colors;LIGHT_GRAY:I
      intermediary field_45073 Lnet/minecraft/class_8012;field_45073:I
      official d Layz;d:I
    • ALTERNATE_WHITE

      public static final int ALTERNATE_WHITE
      Represents a variant of the color white, used so that the two alternate with each other, 0xFFBABABA.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ALTERNATE_WHITE Lnet/minecraft/util/Colors;ALTERNATE_WHITE:I
      intermediary field_49788 Lnet/minecraft/class_8012;field_49788:I
      official e Layz;e:I
    • RED

      public static final int RED
      Represents the color red, 0xFFFF0000.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RED Lnet/minecraft/util/Colors;RED:I
      intermediary field_41758 Lnet/minecraft/class_8012;field_41758:I
      official f Layz;f:I
    • LIGHT_RED

      public static final int LIGHT_RED
      Represents the color light red, 0xFFDF5050.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LIGHT_RED Lnet/minecraft/util/Colors;LIGHT_RED:I
      intermediary field_46652 Lnet/minecraft/class_8012;field_46652:I
      official g Layz;g:I
    • GREEN

      public static final int GREEN
      Represents the color green, 0xFF00FF00.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GREEN Lnet/minecraft/util/Colors;GREEN:I
      intermediary field_52312 Lnet/minecraft/class_8012;field_52312:I
      official h Layz;h:I
    • BLUE

      public static final int BLUE
      Represents the color blue, 0xFF0000FF.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BLUE Lnet/minecraft/util/Colors;BLUE:I
      intermediary field_52313 Lnet/minecraft/class_8012;field_52313:I
      official i Layz;i:I
    • YELLOW

      public static final int YELLOW
      Represents the color yellow, 0xFFFFFF00.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named YELLOW Lnet/minecraft/util/Colors;YELLOW:I
      intermediary field_46767 Lnet/minecraft/class_8012;field_46767:I
      official j Layz;j:I
    • LIGHT_YELLOW

      public static final int LIGHT_YELLOW
      Represents the color light yellow, 0xFFFFFF55.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LIGHT_YELLOW Lnet/minecraft/util/Colors;LIGHT_YELLOW:I
      intermediary field_46768 Lnet/minecraft/class_8012;field_46768:I
      official k Layz;k:I
    • PURPLE

      public static final int PURPLE
      Represents the color purple, 0xFF500050.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PURPLE Lnet/minecraft/util/Colors;PURPLE:I
      intermediary field_52393 Lnet/minecraft/class_8012;field_52393:I
      official l Layz;l:I
    • CYAN

      public static final int CYAN
      Represents the color cyan, 0xFF57FFE1.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CYAN Lnet/minecraft/util/Colors;CYAN:I
      intermediary field_54557 Lnet/minecraft/class_8012;field_54557:I
      official m Layz;m:I
  • Constructor Details

    • Colors

      public Colors()