Enum Class DisplayEntity.BillboardMode

java.lang.Object
java.lang.Enum<DisplayEntity.BillboardMode>
net.minecraft.entity.decoration.DisplayEntity.BillboardMode
All Implemented Interfaces:
Serializable, Comparable<DisplayEntity.BillboardMode>, Constable, StringIdentifiable
Enclosing class:
DisplayEntity

public static enum DisplayEntity.BillboardMode extends Enum<DisplayEntity.BillboardMode> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/decoration/DisplayEntity$BillboardMode
intermediary net/minecraft/class_8113$class_8114
official bsv$a
  • Enum Constant Details

    • FIXED

      public static final DisplayEntity.BillboardMode FIXED
      Mappings:
      Namespace Name Mixin selector
      named FIXED Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;FIXED:Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
      intermediary field_42406 Lnet/minecraft/class_8113$class_8114;field_42406:Lnet/minecraft/class_8113$class_8114;
      official a Lbsv$a;a:Lbsv$a;
    • VERTICAL

      public static final DisplayEntity.BillboardMode VERTICAL
      Mappings:
      Namespace Name Mixin selector
      named VERTICAL Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;VERTICAL:Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
      intermediary field_42407 Lnet/minecraft/class_8113$class_8114;field_42407:Lnet/minecraft/class_8113$class_8114;
      official b Lbsv$a;b:Lbsv$a;
    • HORIZONTAL

      public static final DisplayEntity.BillboardMode HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      named HORIZONTAL Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;HORIZONTAL:Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
      intermediary field_42408 Lnet/minecraft/class_8113$class_8114;field_42408:Lnet/minecraft/class_8113$class_8114;
      official c Lbsv$a;c:Lbsv$a;
    • CENTER

      public static final DisplayEntity.BillboardMode CENTER
      Mappings:
      Namespace Name Mixin selector
      named CENTER Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;CENTER:Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
      intermediary field_42409 Lnet/minecraft/class_8113$class_8114;field_42409:Lnet/minecraft/class_8113$class_8114;
      official d Lbsv$a;d:Lbsv$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<DisplayEntity.BillboardMode> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_42410 Lnet/minecraft/class_8113$class_8114;field_42410:Lcom/mojang/serialization/Codec;
      official e Lbsv$a;e:Lcom/mojang/serialization/Codec;
    • FROM_INDEX

      public static final IntFunction<DisplayEntity.BillboardMode> FROM_INDEX
      Mappings:
      Namespace Name Mixin selector
      named FROM_INDEX Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;FROM_INDEX:Ljava/util/function/IntFunction;
      intermediary field_42411 Lnet/minecraft/class_8113$class_8114;field_42411:Ljava/util/function/IntFunction;
      official f Lbsv$a;f:Ljava/util/function/IntFunction;
    • index

      private final byte index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;index:B
      intermediary field_42412 Lnet/minecraft/class_8113$class_8114;field_42412:B
      official g Lbsv$a;g:B
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;name:Ljava/lang/String;
      intermediary field_42413 Lnet/minecraft/class_8113$class_8114;field_42413:Ljava/lang/String;
      official h Lbsv$a;h:Ljava/lang/String;
  • Constructor Details

    • BillboardMode

      private BillboardMode(byte index, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;<init>(Ljava/lang/String;IBLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8113$class_8114;<init>(Ljava/lang/String;IBLjava/lang/String;)V
      official <init> Lbsv$a;<init>(Ljava/lang/String;IBLjava/lang/String;)V
  • Method Details

    • values

      public static DisplayEntity.BillboardMode[] 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

      public static DisplayEntity.BillboardMode valueOf(String name)
      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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getIndex

      byte getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;getIndex()B
      intermediary method_48881 Lnet/minecraft/class_8113$class_8114;method_48881()B
      official a Lbsv$a;a()B