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$Style
intermediary net/minecraft/class_1259$class_1261
official 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 String
Fields 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.Style
Returns 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 PROGRESS
Lnet/minecraft/entity/boss/BossBar$Style;PROGRESS:Lnet/minecraft/entity/boss/BossBar$Style;
intermediary field_5795
Lnet/minecraft/class_1259$class_1261;field_5795:Lnet/minecraft/class_1259$class_1261;
official a
Lbus$b;a:Lbus$b;
-
NOTCHED_6
- Mappings:
Namespace Name Mixin selector named NOTCHED_6
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_6:Lnet/minecraft/entity/boss/BossBar$Style;
intermediary field_5796
Lnet/minecraft/class_1259$class_1261;field_5796:Lnet/minecraft/class_1259$class_1261;
official b
Lbus$b;b:Lbus$b;
-
NOTCHED_10
- Mappings:
Namespace Name Mixin selector named NOTCHED_10
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_10:Lnet/minecraft/entity/boss/BossBar$Style;
intermediary field_5791
Lnet/minecraft/class_1259$class_1261;field_5791:Lnet/minecraft/class_1259$class_1261;
official c
Lbus$b;c:Lbus$b;
-
NOTCHED_12
- Mappings:
Namespace Name Mixin selector named NOTCHED_12
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_12:Lnet/minecraft/entity/boss/BossBar$Style;
intermediary field_5793
Lnet/minecraft/class_1259$class_1261;field_5793:Lnet/minecraft/class_1259$class_1261;
official d
Lbus$b;d:Lbus$b;
-
NOTCHED_20
- Mappings:
Namespace Name Mixin selector named NOTCHED_20
Lnet/minecraft/entity/boss/BossBar$Style;NOTCHED_20:Lnet/minecraft/entity/boss/BossBar$Style;
intermediary field_5790
Lnet/minecraft/class_1259$class_1261;field_5790:Lnet/minecraft/class_1259$class_1261;
official e
Lbus$b;e:Lbus$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/boss/BossBar$Style;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56629
Lnet/minecraft/class_1259$class_1261;field_56629:Lcom/mojang/serialization/Codec;
official f
Lbus$b;f:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/entity/boss/BossBar$Style;name:Ljava/lang/String;
intermediary field_5794
Lnet/minecraft/class_1259$class_1261;field_5794:Ljava/lang/String;
official g
Lbus$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;)V
intermediary <init>
Lnet/minecraft/class_1259$class_1261;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <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 getName
Lnet/minecraft/entity/boss/BossBar$Style;getName()Ljava/lang/String;
intermediary method_5425
Lnet/minecraft/class_1259$class_1261;method_5425()Ljava/lang/String;
official a
Lbus$b;a()Ljava/lang/String;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbax;c()Ljava/lang/String;
-