Package net.minecraft.entity.boss
Enum Class BossBar.Style
- All Implemented Interfaces:
Serializable,Comparable<BossBar.Style>,Constable,StringIdentifiable
- Enclosing class:
BossBar
- Mappings:
Namespace Name named net/minecraft/entity/boss/BossBar$Styleintermediary net/minecraft/class_1259$class_1261official bus$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BossBar.Style> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()static BossBar.StyleReturns the enum constant of this class with the specified name.static BossBar.Style[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROGRESS
- Mappings:
Namespace Name Mixin selector named PROGRESSLnet/minecraft/entity/boss/BossBar$Style;PROGRESS:Lnet/minecraft/entity/boss/BossBar$Style;intermediary field_5795Lnet/minecraft/class_1259$class_1261;field_5795:Lnet/minecraft/class_1259$class_1261;official aLbus$b;a:Lbus$b;
-
NOTCHED_6
- Mappings:
Namespace Name Mixin selector named NOTCHED_6Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_6:Lnet/minecraft/entity/boss/BossBar$Style;intermediary field_5796Lnet/minecraft/class_1259$class_1261;field_5796:Lnet/minecraft/class_1259$class_1261;official bLbus$b;b:Lbus$b;
-
NOTCHED_10
- Mappings:
Namespace Name Mixin selector named NOTCHED_10Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_10:Lnet/minecraft/entity/boss/BossBar$Style;intermediary field_5791Lnet/minecraft/class_1259$class_1261;field_5791:Lnet/minecraft/class_1259$class_1261;official cLbus$b;c:Lbus$b;
-
NOTCHED_12
- Mappings:
Namespace Name Mixin selector named NOTCHED_12Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_12:Lnet/minecraft/entity/boss/BossBar$Style;intermediary field_5793Lnet/minecraft/class_1259$class_1261;field_5793:Lnet/minecraft/class_1259$class_1261;official dLbus$b;d:Lbus$b;
-
NOTCHED_20
- Mappings:
Namespace Name Mixin selector named NOTCHED_20Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_20:Lnet/minecraft/entity/boss/BossBar$Style;intermediary field_5790Lnet/minecraft/class_1259$class_1261;field_5790:Lnet/minecraft/class_1259$class_1261;official eLbus$b;e:Lbus$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/boss/BossBar$Style;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56629Lnet/minecraft/class_1259$class_1261;field_56629:Lcom/mojang/serialization/Codec;official fLbus$b;f:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/boss/BossBar$Style;name:Ljava/lang/String;intermediary field_5794Lnet/minecraft/class_1259$class_1261;field_5794:Ljava/lang/String;official gLbus$b;g:Ljava/lang/String;
-
-
Constructor Details
-
Style
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/boss/BossBar$Style;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1259$class_1261;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lbus$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/entity/boss/BossBar$Style;getName()Ljava/lang/String;intermediary method_5425Lnet/minecraft/class_1259$class_1261;method_5425()Ljava/lang/String;official aLbus$b;a()Ljava/lang/String;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbax;c()Ljava/lang/String;
-