Package net.minecraft.entity.passive
Enum Class ParrotEntity.Variant
- All Implemented Interfaces:
Serializable
,Comparable<ParrotEntity.Variant>
,Constable
,StringIdentifiable
- Enclosing class:
ParrotEntity
public static enum ParrotEntity.Variant
extends Enum<ParrotEntity.Variant>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/ParrotEntity$Variant
intermediary net/minecraft/class_1453$class_7989
official ckp$b
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ParrotEntity.Variant> static final ParrotEntity.Variant
private final String
(package private) final int
static final com.mojang.serialization.Codec
<ParrotEntity.Variant> Deprecated.private static final IntFunction
<ParrotEntity.Variant> static final PacketCodec
<ByteBuf, ParrotEntity.Variant> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static ParrotEntity.Variant
byIndex
(int index) int
getIndex()
static ParrotEntity.Variant
Returns the enum constant of this class with the specified name.static ParrotEntity.Variant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED_BLUE
- Mappings:
Namespace Name Mixin selector named RED_BLUE
Lnet/minecraft/entity/passive/ParrotEntity$Variant;RED_BLUE:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_41550
Lnet/minecraft/class_1453$class_7989;field_41550:Lnet/minecraft/class_1453$class_7989;
official a
Lckp$b;a:Lckp$b;
-
BLUE
- Mappings:
Namespace Name Mixin selector named BLUE
Lnet/minecraft/entity/passive/ParrotEntity$Variant;BLUE:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_41551
Lnet/minecraft/class_1453$class_7989;field_41551:Lnet/minecraft/class_1453$class_7989;
official b
Lckp$b;b:Lckp$b;
-
GREEN
- Mappings:
Namespace Name Mixin selector named GREEN
Lnet/minecraft/entity/passive/ParrotEntity$Variant;GREEN:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_41552
Lnet/minecraft/class_1453$class_7989;field_41552:Lnet/minecraft/class_1453$class_7989;
official c
Lckp$b;c:Lckp$b;
-
YELLOW_BLUE
- Mappings:
Namespace Name Mixin selector named YELLOW_BLUE
Lnet/minecraft/entity/passive/ParrotEntity$Variant;YELLOW_BLUE:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_41553
Lnet/minecraft/class_1453$class_7989;field_41553:Lnet/minecraft/class_1453$class_7989;
official d
Lckp$b;d:Lckp$b;
-
GRAY
- Mappings:
Namespace Name Mixin selector named GRAY
Lnet/minecraft/entity/passive/ParrotEntity$Variant;GRAY:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_41554
Lnet/minecraft/class_1453$class_7989;field_41554:Lnet/minecraft/class_1453$class_7989;
official e
Lckp$b;e:Lckp$b;
-
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/entity/passive/ParrotEntity$Variant;DEFAULT:Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary field_57614
Lnet/minecraft/class_1453$class_7989;field_57614:Lnet/minecraft/class_1453$class_7989;
official f
Lckp$b;f:Lckp$b;
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPER
Lnet/minecraft/entity/passive/ParrotEntity$Variant;INDEX_MAPPER:Ljava/util/function/IntFunction;
intermediary field_41556
Lnet/minecraft/class_1453$class_7989;field_41556:Ljava/util/function/IntFunction;
official j
Lckp$b;j:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/passive/ParrotEntity$Variant;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_41555
Lnet/minecraft/class_1453$class_7989;field_41555:Lcom/mojang/serialization/Codec;
official g
Lckp$b;g:Lcom/mojang/serialization/Codec;
-
INDEX_CODEC
Deprecated.- Mappings:
Namespace Name Mixin selector named INDEX_CODEC
Lnet/minecraft/entity/passive/ParrotEntity$Variant;INDEX_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56653
Lnet/minecraft/class_1453$class_7989;field_56653:Lcom/mojang/serialization/Codec;
official h
Lckp$b;h:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/entity/passive/ParrotEntity$Variant;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_55965
Lnet/minecraft/class_1453$class_7989;field_55965:Lnet/minecraft/class_9139;
official i
Lckp$b;i:Lze;
-
index
final int index- Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/entity/passive/ParrotEntity$Variant;index:I
intermediary field_41557
Lnet/minecraft/class_1453$class_7989;field_41557:I
official k
Lckp$b;k:I
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/passive/ParrotEntity$Variant;id:Ljava/lang/String;
intermediary field_41558
Lnet/minecraft/class_1453$class_7989;field_41558:Ljava/lang/String;
official l
Lckp$b;l:Ljava/lang/String;
-
-
Constructor Details
-
Variant
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/ParrotEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1453$class_7989;<init>(Ljava/lang/String;IILjava/lang/String;)V
official <init>
Lckp$b;<init>(Ljava/lang/String;IILjava/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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/entity/passive/ParrotEntity$Variant;getIndex()I
intermediary method_47849
Lnet/minecraft/class_1453$class_7989;method_47849()I
official a
Lckp$b;a()I
-
byIndex
- Mappings:
Namespace Name Mixin selector named byIndex
Lnet/minecraft/entity/passive/ParrotEntity$Variant;byIndex(I)Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary method_47850
Lnet/minecraft/class_1453$class_7989;method_47850(I)Lnet/minecraft/class_1453$class_7989;
official a
Lckp$b;a(I)Lckp$b;
-
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 named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbax;c()Ljava/lang/String;
-