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 bfi$k$a
intermediary net/minecraft/class_8113$class_8123$class_8124
named net/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment
  • Enum Constant Details

    • CENTER

      Mappings:
      Namespace Name Mixin selector
      official a Lbfi$k$a;a:Lbfi$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 Lbfi$k$a;b:Lbfi$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;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official d Lbfi$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

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Lbfi$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

      private TextAlignment(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfi$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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lapr;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;