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 official bfc$k$a
intermediary net/minecraft/class_8113$class_8123$class_8124
named net/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment
-
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.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
CENTER
- Mappings:
Namespace Name Mixin selector official a
Lbfc$k$a;a:Lbfc$k$a;
intermediary field_42450
Lnet/minecraft/class_8113$class_8123$class_8124;field_42450:Lnet/minecraft/class_8113$class_8123$class_8124;
named CENTER
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;CENTER:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
-
LEFT
- Mappings:
Namespace Name Mixin selector official b
Lbfc$k$a;b:Lbfc$k$a;
intermediary field_42451
Lnet/minecraft/class_8113$class_8123$class_8124;field_42451:Lnet/minecraft/class_8113$class_8123$class_8124;
named LEFT
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;LEFT:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official c
Lbfc$k$a;c:Lbfc$k$a;
intermediary field_42452
Lnet/minecraft/class_8113$class_8123$class_8124;field_42452:Lnet/minecraft/class_8113$class_8123$class_8124;
named RIGHT
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;RIGHT:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Lbfc$k$a;d:Lcom/mojang/serialization/Codec;
intermediary field_42453
Lnet/minecraft/class_8113$class_8123$class_8124;field_42453:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;CODEC:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector official e
Lbfc$k$a;e:Ljava/lang/String;
intermediary field_42454
Lnet/minecraft/class_8113$class_8123$class_8124;field_42454:Ljava/lang/String;
named name
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;name:Ljava/lang/String;
-
-
Constructor Details
-
TextAlignment
- Mappings:
Namespace Name Mixin selector official <init>
Lbfc$k$a;<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
named <init>
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;<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 official c
Lapp;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-