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 bip$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.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DisplayEntity.BillboardMode>
static final IntFunction<DisplayEntity.BillboardMode>
private final byte
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
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
Lbip$a;a:Lbip$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
Lbip$a;b:Lbip$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
Lbip$a;c:Lbip$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
Lbip$a;d:Lbip$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
Lbip$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
Lbip$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
Lbip$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
Lbip$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>
Lbip$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
Lasp;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
Lbip$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
-