Package net.minecraft.entity.decoration
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
-
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
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<DisplayEntity.BillboardMode>
static final IntFunction<DisplayEntity.BillboardMode>
private final byte
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.(package private) byte
getIndex()
static DisplayEntity.BillboardMode
Returns the enum constant of this class with the specified name.static DisplayEntity.BillboardMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
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
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
-