Enum Class BossBar.Color

java.lang.Object
java.lang.Enum<BossBar.Color>
net.minecraft.entity.boss.BossBar.Color
All Implemented Interfaces:
Serializable, Comparable<BossBar.Color>, Constable
Enclosing class:
BossBar

public static enum BossBar.Color extends Enum<BossBar.Color>
Mappings:
Namespace Name
named net/minecraft/entity/boss/BossBar$Color
intermediary net/minecraft/class_1259$class_1260
official bqm$a
  • Enum Constant Details

    • PINK

      public static final BossBar.Color PINK
      Mappings:
      Namespace Name Mixin selector
      named PINK Lnet/minecraft/entity/boss/BossBar$Color;PINK:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5788 Lnet/minecraft/class_1259$class_1260;field_5788:Lnet/minecraft/class_1259$class_1260;
      official a Lbqm$a;a:Lbqm$a;
    • BLUE

      public static final BossBar.Color BLUE
      Mappings:
      Namespace Name Mixin selector
      named BLUE Lnet/minecraft/entity/boss/BossBar$Color;BLUE:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5780 Lnet/minecraft/class_1259$class_1260;field_5780:Lnet/minecraft/class_1259$class_1260;
      official b Lbqm$a;b:Lbqm$a;
    • RED

      public static final BossBar.Color RED
      Mappings:
      Namespace Name Mixin selector
      named RED Lnet/minecraft/entity/boss/BossBar$Color;RED:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5784 Lnet/minecraft/class_1259$class_1260;field_5784:Lnet/minecraft/class_1259$class_1260;
      official c Lbqm$a;c:Lbqm$a;
    • GREEN

      public static final BossBar.Color GREEN
      Mappings:
      Namespace Name Mixin selector
      named GREEN Lnet/minecraft/entity/boss/BossBar$Color;GREEN:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5785 Lnet/minecraft/class_1259$class_1260;field_5785:Lnet/minecraft/class_1259$class_1260;
      official d Lbqm$a;d:Lbqm$a;
    • YELLOW

      public static final BossBar.Color YELLOW
      Mappings:
      Namespace Name Mixin selector
      named YELLOW Lnet/minecraft/entity/boss/BossBar$Color;YELLOW:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5782 Lnet/minecraft/class_1259$class_1260;field_5782:Lnet/minecraft/class_1259$class_1260;
      official e Lbqm$a;e:Lbqm$a;
    • PURPLE

      public static final BossBar.Color PURPLE
      Mappings:
      Namespace Name Mixin selector
      named PURPLE Lnet/minecraft/entity/boss/BossBar$Color;PURPLE:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5783 Lnet/minecraft/class_1259$class_1260;field_5783:Lnet/minecraft/class_1259$class_1260;
      official f Lbqm$a;f:Lbqm$a;
    • WHITE

      public static final BossBar.Color WHITE
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/entity/boss/BossBar$Color;WHITE:Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary field_5786 Lnet/minecraft/class_1259$class_1260;field_5786:Lnet/minecraft/class_1259$class_1260;
      official g Lbqm$a;g:Lbqm$a;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/boss/BossBar$Color;name:Ljava/lang/String;
      intermediary field_5781 Lnet/minecraft/class_1259$class_1260;field_5781:Ljava/lang/String;
      official h Lbqm$a;h:Ljava/lang/String;
    • format

      private final Formatting format
      Mappings:
      Namespace Name Mixin selector
      named format Lnet/minecraft/entity/boss/BossBar$Color;format:Lnet/minecraft/util/Formatting;
      intermediary field_5787 Lnet/minecraft/class_1259$class_1260;field_5787:Lnet/minecraft/class_124;
      official i Lbqm$a;i:Ln;
  • Constructor Details

    • Color

      private Color(String name, Formatting format)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/boss/BossBar$Color;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)V
      intermediary <init> Lnet/minecraft/class_1259$class_1260;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)V
      official <init> Lbqm$a;<init>(Ljava/lang/String;ILjava/lang/String;Ln;)V
  • Method Details

    • values

      public static BossBar.Color[] 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 BossBar.Color 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
    • getTextFormat

      public Formatting getTextFormat()
      Mappings:
      Namespace Name Mixin selector
      named getTextFormat Lnet/minecraft/entity/boss/BossBar$Color;getTextFormat()Lnet/minecraft/util/Formatting;
      intermediary method_5423 Lnet/minecraft/class_1259$class_1260;method_5423()Lnet/minecraft/class_124;
      official a Lbqm$a;a()Ln;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/boss/BossBar$Color;getName()Ljava/lang/String;
      intermediary method_5421 Lnet/minecraft/class_1259$class_1260;method_5421()Ljava/lang/String;
      official b Lbqm$a;b()Ljava/lang/String;
    • byName

      public static BossBar.Color byName(String name)
      Mappings:
      Namespace Name Mixin selector
      named byName Lnet/minecraft/entity/boss/BossBar$Color;byName(Ljava/lang/String;)Lnet/minecraft/entity/boss/BossBar$Color;
      intermediary method_5422 Lnet/minecraft/class_1259$class_1260;method_5422(Ljava/lang/String;)Lnet/minecraft/class_1259$class_1260;
      official a Lbqm$a;a(Ljava/lang/String;)Lbqm$a;