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
official bfi$a
intermediary net/minecraft/class_8113$class_8114
named net/minecraft/entity/decoration/DisplayEntity$BillboardMode
  • Enum Constant Details

    • FIXED

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

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

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official e Lbfi$a;e:Lcom/mojang/serialization/Codec;
      intermediary field_42410 Lnet/minecraft/class_8113$class_8114;field_42410:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;CODEC:Lcom/mojang/serialization/Codec;
    • FROM_INDEX

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

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

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

    • BillboardMode

      private BillboardMode(byte index, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfi$a;<init>(Ljava/lang/String;IBLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8113$class_8114;<init>(Ljava/lang/String;IBLjava/lang/String;)V
      named <init> Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;<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
      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;
    • getIndex

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