Package net.minecraft.entity.boss
Enum BossBar.Color
- All Implemented Interfaces:
Serializable,Comparable<BossBar.Color>,java.lang.constant.Constable
- Enclosing class:
- BossBar
- Mappings:
Namespace Name official aqz$aintermediary net/minecraft/class_1259$class_1260named net/minecraft/entity/boss/BossBar$Color
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BossBar.ColorgetName()static BossBar.ColorReturns the enum constant of this type with the specified name.static BossBar.Color[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PINK
- Mappings:
Namespace Name Mixin selector official aLaqz$a;a:Laqz$a;intermediary field_5788Lnet/minecraft/class_1259$class_1260;field_5788:Lnet/minecraft/class_1259$class_1260;named PINKLnet/minecraft/entity/boss/BossBar$Color;PINK:Lnet/minecraft/entity/boss/BossBar$Color;
-
BLUE
- Mappings:
Namespace Name Mixin selector official bLaqz$a;b:Laqz$a;intermediary field_5780Lnet/minecraft/class_1259$class_1260;field_5780:Lnet/minecraft/class_1259$class_1260;named BLUELnet/minecraft/entity/boss/BossBar$Color;BLUE:Lnet/minecraft/entity/boss/BossBar$Color;
-
RED
- Mappings:
Namespace Name Mixin selector official cLaqz$a;c:Laqz$a;intermediary field_5784Lnet/minecraft/class_1259$class_1260;field_5784:Lnet/minecraft/class_1259$class_1260;named REDLnet/minecraft/entity/boss/BossBar$Color;RED:Lnet/minecraft/entity/boss/BossBar$Color;
-
GREEN
- Mappings:
Namespace Name Mixin selector official dLaqz$a;d:Laqz$a;intermediary field_5785Lnet/minecraft/class_1259$class_1260;field_5785:Lnet/minecraft/class_1259$class_1260;named GREENLnet/minecraft/entity/boss/BossBar$Color;GREEN:Lnet/minecraft/entity/boss/BossBar$Color;
-
YELLOW
- Mappings:
Namespace Name Mixin selector official eLaqz$a;e:Laqz$a;intermediary field_5782Lnet/minecraft/class_1259$class_1260;field_5782:Lnet/minecraft/class_1259$class_1260;named YELLOWLnet/minecraft/entity/boss/BossBar$Color;YELLOW:Lnet/minecraft/entity/boss/BossBar$Color;
-
PURPLE
- Mappings:
Namespace Name Mixin selector official fLaqz$a;f:Laqz$a;intermediary field_5783Lnet/minecraft/class_1259$class_1260;field_5783:Lnet/minecraft/class_1259$class_1260;named PURPLELnet/minecraft/entity/boss/BossBar$Color;PURPLE:Lnet/minecraft/entity/boss/BossBar$Color;
-
WHITE
- Mappings:
Namespace Name Mixin selector official gLaqz$a;g:Laqz$a;intermediary field_5786Lnet/minecraft/class_1259$class_1260;field_5786:Lnet/minecraft/class_1259$class_1260;named WHITELnet/minecraft/entity/boss/BossBar$Color;WHITE:Lnet/minecraft/entity/boss/BossBar$Color;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official hLaqz$a;h:Ljava/lang/String;intermediary field_5781Lnet/minecraft/class_1259$class_1260;field_5781:Ljava/lang/String;named nameLnet/minecraft/entity/boss/BossBar$Color;name:Ljava/lang/String;
-
format
- Mappings:
Namespace Name Mixin selector official iLaqz$a;i:Lp;intermediary field_5787Lnet/minecraft/class_1259$class_1260;field_5787:Lnet/minecraft/class_124;named formatLnet/minecraft/entity/boss/BossBar$Color;format:Lnet/minecraft/util/Formatting;
-
-
Constructor Details
-
Color
- Mappings:
Namespace Name Mixin selector official <init>Laqz$a;<init>(Ljava/lang/String;ILjava/lang/String;Lp;)Vintermediary <init>Lnet/minecraft/class_1259$class_1260;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)Vnamed <init>Lnet/minecraft/entity/boss/BossBar$Color;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getTextFormat
- Mappings:
Namespace Name Mixin selector official aLaqz$a;a()Lp;intermediary method_5423Lnet/minecraft/class_1259$class_1260;method_5423()Lnet/minecraft/class_124;named getTextFormatLnet/minecraft/entity/boss/BossBar$Color;getTextFormat()Lnet/minecraft/util/Formatting;
-
getName
- Mappings:
Namespace Name Mixin selector official bLaqz$a;b()Ljava/lang/String;intermediary method_5421Lnet/minecraft/class_1259$class_1260;method_5421()Ljava/lang/String;named getNameLnet/minecraft/entity/boss/BossBar$Color;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLaqz$a;a(Ljava/lang/String;)Laqz$a;intermediary method_5422Lnet/minecraft/class_1259$class_1260;method_5422(Ljava/lang/String;)Lnet/minecraft/class_1259$class_1260;named byNameLnet/minecraft/entity/boss/BossBar$Color;byName(Ljava/lang/String;)Lnet/minecraft/entity/boss/BossBar$Color;
-