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 axi
  • 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 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 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 Laxi;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 Laxi;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 Laxi;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 Laxi;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 Laxi;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 Laxi;f: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 g Laxi;g: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 h Laxi;h: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 i Laxi;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 Laxi;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 Laxi;k:I
  • Constructor Details

    • Colors

      public Colors()