Package net.minecraft.entity.boss
Enum BossBar.Style
- All Implemented Interfaces:
Serializable
,Comparable<BossBar.Style>
,java.lang.constant.Constable
- Enclosing class:
- BossBar
public static enum BossBar.Style extends Enum<BossBar.Style>
- Mappings:
Namespace Name official apg$b
intermediary net/minecraft/class_1259$class_1261
named net/minecraft/entity/boss/BossBar$Style
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description NOTCHED_10
NOTCHED_12
NOTCHED_20
NOTCHED_6
PROGRESS
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static BossBar.Style
byName(String name)
String
getName()
static BossBar.Style
valueOf(String name)
Returns the enum constant of this type with the specified name.static BossBar.Style[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROGRESS
- Mappings:
Namespace Name Mixin selector official a
Lapg$b;a:Lapg$b;
intermediary field_5795
Lnet/minecraft/class_1259$class_1261;field_5795:Lnet/minecraft/class_1259$class_1261;
named PROGRESS
Lnet/minecraft/entity/boss/BossBar$Style;PROGRESS:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_6
- Mappings:
Namespace Name Mixin selector official b
Lapg$b;b:Lapg$b;
intermediary field_5796
Lnet/minecraft/class_1259$class_1261;field_5796:Lnet/minecraft/class_1259$class_1261;
named NOTCHED_6
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_6:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_10
- Mappings:
Namespace Name Mixin selector official c
Lapg$b;c:Lapg$b;
intermediary field_5791
Lnet/minecraft/class_1259$class_1261;field_5791:Lnet/minecraft/class_1259$class_1261;
named NOTCHED_10
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_10:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_12
- Mappings:
Namespace Name Mixin selector official d
Lapg$b;d:Lapg$b;
intermediary field_5793
Lnet/minecraft/class_1259$class_1261;field_5793:Lnet/minecraft/class_1259$class_1261;
named NOTCHED_12
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_12:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_20
- Mappings:
Namespace Name Mixin selector official e
Lapg$b;e:Lapg$b;
intermediary field_5790
Lnet/minecraft/class_1259$class_1261;field_5790:Lnet/minecraft/class_1259$class_1261;
named NOTCHED_20
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_20:Lnet/minecraft/entity/boss/BossBar$Style;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official f
Lapg$b;f:Ljava/lang/String;
intermediary field_5794
Lnet/minecraft/class_1259$class_1261;field_5794:Ljava/lang/String;
named name
Lnet/minecraft/entity/boss/BossBar$Style;name:Ljava/lang/String;
-
-
Constructor Details
-
Style
- Mappings:
Namespace Name Mixin selector official <init>
Lapg$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1259$class_1261;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/entity/boss/BossBar$Style;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getName
- Mappings:
Namespace Name Mixin selector official a
Lapg$b;a()Ljava/lang/String;
intermediary method_5425
Lnet/minecraft/class_1259$class_1261;method_5425()Ljava/lang/String;
named getName
Lnet/minecraft/entity/boss/BossBar$Style;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lapg$b;a(Ljava/lang/String;)Lapg$b;
intermediary method_5424
Lnet/minecraft/class_1259$class_1261;method_5424(Ljava/lang/String;)Lnet/minecraft/class_1259$class_1261;
named byName
Lnet/minecraft/entity/boss/BossBar$Style;byName(Ljava/lang/String;)Lnet/minecraft/entity/boss/BossBar$Style;
-