Package net.minecraft.entity.passive
Enum Class CopperGolemState
- All Implemented Interfaces:
Serializable,Comparable<CopperGolemState>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/CopperGolemStateintermediary net/minecraft/class_11577official cst
-
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<CopperGolemState> private final Stringprivate final intprivate static final IntFunction<CopperGolemState> static final PacketCodec<ByteBuf, CopperGolemState> 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.private intgetIndex()static CopperGolemStateReturns the enum constant of this class with the specified name.static CopperGolemState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLE
- Mappings:
Namespace Name Mixin selector named IDLELnet/minecraft/entity/passive/CopperGolemState;IDLE:Lnet/minecraft/entity/passive/CopperGolemState;intermediary field_61292Lnet/minecraft/class_11577;field_61292:Lnet/minecraft/class_11577;official aLcst;a:Lcst;
-
GETTING_ITEM
- Mappings:
Namespace Name Mixin selector named GETTING_ITEMLnet/minecraft/entity/passive/CopperGolemState;GETTING_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;intermediary field_61293Lnet/minecraft/class_11577;field_61293:Lnet/minecraft/class_11577;official bLcst;b:Lcst;
-
GETTING_NO_ITEM
- Mappings:
Namespace Name Mixin selector named GETTING_NO_ITEMLnet/minecraft/entity/passive/CopperGolemState;GETTING_NO_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;intermediary field_61294Lnet/minecraft/class_11577;field_61294:Lnet/minecraft/class_11577;official cLcst;c:Lcst;
-
DROPPING_ITEM
- Mappings:
Namespace Name Mixin selector named DROPPING_ITEMLnet/minecraft/entity/passive/CopperGolemState;DROPPING_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;intermediary field_61295Lnet/minecraft/class_11577;field_61295:Lnet/minecraft/class_11577;official dLcst;d:Lcst;
-
DROPPING_NO_ITEM
- Mappings:
Namespace Name Mixin selector named DROPPING_NO_ITEMLnet/minecraft/entity/passive/CopperGolemState;DROPPING_NO_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;intermediary field_61296Lnet/minecraft/class_11577;field_61296:Lnet/minecraft/class_11577;official eLcst;e:Lcst;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/passive/CopperGolemState;CODEC:Lcom/mojang/serialization/Codec;intermediary field_61297Lnet/minecraft/class_11577;field_61297:Lcom/mojang/serialization/Codec;official fLcst;f:Lcom/mojang/serialization/Codec;
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPERLnet/minecraft/entity/passive/CopperGolemState;INDEX_MAPPER:Ljava/util/function/IntFunction;intermediary field_61299Lnet/minecraft/class_11577;field_61299:Ljava/util/function/IntFunction;official hLcst;h:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/passive/CopperGolemState;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_61298Lnet/minecraft/class_11577;field_61298:Lnet/minecraft/class_9139;official gLcst;g:Laae;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/entity/passive/CopperGolemState;id:Ljava/lang/String;intermediary field_61300Lnet/minecraft/class_11577;field_61300:Ljava/lang/String;official iLcst;i:Ljava/lang/String;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/entity/passive/CopperGolemState;index:Iintermediary field_61301Lnet/minecraft/class_11577;field_61301:Iofficial jLcst;j:I
-
-
Constructor Details
-
CopperGolemState
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/CopperGolemState;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_11577;<init>(Ljava/lang/String;ILjava/lang/String;I)Vofficial <init>Lcst;<init>(Ljava/lang/String;ILjava/lang/String;I)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:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgg;c()Ljava/lang/String;
-
getIndex
private int getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/entity/passive/CopperGolemState;getIndex()Iintermediary method_72494Lnet/minecraft/class_11577;method_72494()Iofficial aLcst;a()I
-