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$bintermediary net/minecraft/class_1259$class_1261named 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_10NOTCHED_12NOTCHED_20NOTCHED_6PROGRESS -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static BossBar.StylebyName(String name)StringgetName()static BossBar.StylevalueOf(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 aLapg$b;a:Lapg$b;intermediary field_5795Lnet/minecraft/class_1259$class_1261;field_5795:Lnet/minecraft/class_1259$class_1261;named PROGRESSLnet/minecraft/entity/boss/BossBar$Style;PROGRESS:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_6
- Mappings:
Namespace Name Mixin selector official bLapg$b;b:Lapg$b;intermediary field_5796Lnet/minecraft/class_1259$class_1261;field_5796:Lnet/minecraft/class_1259$class_1261;named NOTCHED_6Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_6:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_10
- Mappings:
Namespace Name Mixin selector official cLapg$b;c:Lapg$b;intermediary field_5791Lnet/minecraft/class_1259$class_1261;field_5791:Lnet/minecraft/class_1259$class_1261;named NOTCHED_10Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_10:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_12
- Mappings:
Namespace Name Mixin selector official dLapg$b;d:Lapg$b;intermediary field_5793Lnet/minecraft/class_1259$class_1261;field_5793:Lnet/minecraft/class_1259$class_1261;named NOTCHED_12Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_12:Lnet/minecraft/entity/boss/BossBar$Style;
-
NOTCHED_20
- Mappings:
Namespace Name Mixin selector official eLapg$b;e:Lapg$b;intermediary field_5790Lnet/minecraft/class_1259$class_1261;field_5790:Lnet/minecraft/class_1259$class_1261;named NOTCHED_20Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_20:Lnet/minecraft/entity/boss/BossBar$Style;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official fLapg$b;f:Ljava/lang/String;intermediary field_5794Lnet/minecraft/class_1259$class_1261;field_5794:Ljava/lang/String;named nameLnet/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;)Vintermediary <init>Lnet/minecraft/class_1259$class_1261;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <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 aLapg$b;a()Ljava/lang/String;intermediary method_5425Lnet/minecraft/class_1259$class_1261;method_5425()Ljava/lang/String;named getNameLnet/minecraft/entity/boss/BossBar$Style;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLapg$b;a(Ljava/lang/String;)Lapg$b;intermediary method_5424Lnet/minecraft/class_1259$class_1261;method_5424(Ljava/lang/String;)Lnet/minecraft/class_1259$class_1261;named byNameLnet/minecraft/entity/boss/BossBar$Style;byName(Ljava/lang/String;)Lnet/minecraft/entity/boss/BossBar$Style;
-