Package net.minecraft.entity.decoration
Enum Class DisplayEntity.TextDisplayEntity.TextAlignment
java.lang.Object
java.lang.Enum<DisplayEntity.TextDisplayEntity.TextAlignment>
net.minecraft.entity.decoration.DisplayEntity.TextDisplayEntity.TextAlignment
- All Implemented Interfaces:
Serializable
,Comparable<DisplayEntity.TextDisplayEntity.TextAlignment>
,Constable
,StringIdentifiable
- Enclosing class:
DisplayEntity.TextDisplayEntity
public static enum DisplayEntity.TextDisplayEntity.TextAlignment
extends Enum<DisplayEntity.TextDisplayEntity.TextAlignment>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment
intermediary net/minecraft/class_8113$class_8123$class_8124
official bvh$l$a
-
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DisplayEntity.TextDisplayEntity.TextAlignment> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
CENTER
- Mappings:
Namespace Name Mixin selector named CENTER
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;CENTER:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
intermediary field_42450
Lnet/minecraft/class_8113$class_8123$class_8124;field_42450:Lnet/minecraft/class_8113$class_8123$class_8124;
official a
Lbvh$l$a;a:Lbvh$l$a;
-
LEFT
- Mappings:
Namespace Name Mixin selector named LEFT
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;LEFT:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
intermediary field_42451
Lnet/minecraft/class_8113$class_8123$class_8124;field_42451:Lnet/minecraft/class_8113$class_8123$class_8124;
official b
Lbvh$l$a;b:Lbvh$l$a;
-
RIGHT
- Mappings:
Namespace Name Mixin selector named RIGHT
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;RIGHT:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
intermediary field_42452
Lnet/minecraft/class_8113$class_8123$class_8124;field_42452:Lnet/minecraft/class_8113$class_8123$class_8124;
official c
Lbvh$l$a;c:Lbvh$l$a;
-
-
Field Details
-
CODEC
public static final com.mojang.serialization.Codec<DisplayEntity.TextDisplayEntity.TextAlignment> CODEC- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_42453
Lnet/minecraft/class_8113$class_8123$class_8124;field_42453:Lcom/mojang/serialization/Codec;
official d
Lbvh$l$a;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;name:Ljava/lang/String;
intermediary field_42454
Lnet/minecraft/class_8113$class_8123$class_8124;field_42454:Ljava/lang/String;
official e
Lbvh$l$a;e:Ljava/lang/String;
-
-
Constructor Details
-
TextAlignment
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8113$class_8123$class_8124;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lbvh$l$a;<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
-
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
Lbba;c()Ljava/lang/String;
-