Enum Class CopperGolemState

java.lang.Object
java.lang.Enum<CopperGolemState>
net.minecraft.entity.passive.CopperGolemState
All Implemented Interfaces:
Serializable, Comparable<CopperGolemState>, Constable, StringIdentifiable

public enum CopperGolemState extends Enum<CopperGolemState> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/CopperGolemState
intermediary net/minecraft/class_11577
official cst
  • Enum Constant Details

    • IDLE

      public static final CopperGolemState IDLE
      Mappings:
      Namespace Name Mixin selector
      named IDLE Lnet/minecraft/entity/passive/CopperGolemState;IDLE:Lnet/minecraft/entity/passive/CopperGolemState;
      intermediary field_61292 Lnet/minecraft/class_11577;field_61292:Lnet/minecraft/class_11577;
      official a Lcst;a:Lcst;
    • GETTING_ITEM

      public static final CopperGolemState GETTING_ITEM
      Mappings:
      Namespace Name Mixin selector
      named GETTING_ITEM Lnet/minecraft/entity/passive/CopperGolemState;GETTING_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;
      intermediary field_61293 Lnet/minecraft/class_11577;field_61293:Lnet/minecraft/class_11577;
      official b Lcst;b:Lcst;
    • GETTING_NO_ITEM

      public static final CopperGolemState GETTING_NO_ITEM
      Mappings:
      Namespace Name Mixin selector
      named GETTING_NO_ITEM Lnet/minecraft/entity/passive/CopperGolemState;GETTING_NO_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;
      intermediary field_61294 Lnet/minecraft/class_11577;field_61294:Lnet/minecraft/class_11577;
      official c Lcst;c:Lcst;
    • DROPPING_ITEM

      public static final CopperGolemState DROPPING_ITEM
      Mappings:
      Namespace Name Mixin selector
      named DROPPING_ITEM Lnet/minecraft/entity/passive/CopperGolemState;DROPPING_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;
      intermediary field_61295 Lnet/minecraft/class_11577;field_61295:Lnet/minecraft/class_11577;
      official d Lcst;d:Lcst;
    • DROPPING_NO_ITEM

      public static final CopperGolemState DROPPING_NO_ITEM
      Mappings:
      Namespace Name Mixin selector
      named DROPPING_NO_ITEM Lnet/minecraft/entity/passive/CopperGolemState;DROPPING_NO_ITEM:Lnet/minecraft/entity/passive/CopperGolemState;
      intermediary field_61296 Lnet/minecraft/class_11577;field_61296:Lnet/minecraft/class_11577;
      official e Lcst;e:Lcst;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CopperGolemState> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/CopperGolemState;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_61297 Lnet/minecraft/class_11577;field_61297:Lcom/mojang/serialization/Codec;
      official f Lcst;f:Lcom/mojang/serialization/Codec;
    • INDEX_MAPPER

      private static final IntFunction<CopperGolemState> INDEX_MAPPER
      Mappings:
      Namespace Name Mixin selector
      named INDEX_MAPPER Lnet/minecraft/entity/passive/CopperGolemState;INDEX_MAPPER:Ljava/util/function/IntFunction;
      intermediary field_61299 Lnet/minecraft/class_11577;field_61299:Ljava/util/function/IntFunction;
      official h Lcst;h:Ljava/util/function/IntFunction;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,CopperGolemState> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/entity/passive/CopperGolemState;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_61298 Lnet/minecraft/class_11577;field_61298:Lnet/minecraft/class_9139;
      official g Lcst;g:Laae;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/CopperGolemState;id:Ljava/lang/String;
      intermediary field_61300 Lnet/minecraft/class_11577;field_61300:Ljava/lang/String;
      official i Lcst;i:Ljava/lang/String;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/entity/passive/CopperGolemState;index:I
      intermediary field_61301 Lnet/minecraft/class_11577;field_61301:I
      official j Lcst;j:I
  • Constructor Details

    • CopperGolemState

      private CopperGolemState(String id, int index)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/CopperGolemState;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_11577;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      official <init> Lcst;<init>(Ljava/lang/String;ILjava/lang/String;I)V
  • Method Details

    • values

      public static CopperGolemState[] 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 CopperGolemState 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbgg;c()Ljava/lang/String;
    • getIndex

      private int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/entity/passive/CopperGolemState;getIndex()I
      intermediary method_72494 Lnet/minecraft/class_11577;method_72494()I
      official a Lcst;a()I