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 axt
  • 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 gray, 0xFF808080.
    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 Laxt;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 Laxt;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 Laxt;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 Laxt;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 Laxt;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 Laxt;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 Laxt;g: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 h Laxt;h: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 i Laxt;i:I
  • Constructor Details

    • Colors

      public Colors()