Enum Class SnifferEntity.State

java.lang.Object
java.lang.Enum<SnifferEntity.State>
net.minecraft.entity.passive.SnifferEntity.State
All Implemented Interfaces:
Serializable, Comparable<SnifferEntity.State>, Constable
Enclosing class:
SnifferEntity

public static enum SnifferEntity.State extends Enum<SnifferEntity.State>
Mappings:
Namespace Name
named net/minecraft/entity/passive/SnifferEntity$State
intermediary net/minecraft/class_8153$class_8154
official chx$a
  • Enum Constant Details

    • IDLING

      public static final SnifferEntity.State IDLING
      Mappings:
      Namespace Name Mixin selector
      named IDLING Lnet/minecraft/entity/passive/SnifferEntity$State;IDLING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42665 Lnet/minecraft/class_8153$class_8154;field_42665:Lnet/minecraft/class_8153$class_8154;
      official a Lchx$a;a:Lchx$a;
    • FEELING_HAPPY

      public static final SnifferEntity.State FEELING_HAPPY
      Mappings:
      Namespace Name Mixin selector
      named FEELING_HAPPY Lnet/minecraft/entity/passive/SnifferEntity$State;FEELING_HAPPY:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42666 Lnet/minecraft/class_8153$class_8154;field_42666:Lnet/minecraft/class_8153$class_8154;
      official b Lchx$a;b:Lchx$a;
    • SCENTING

      public static final SnifferEntity.State SCENTING
      Mappings:
      Namespace Name Mixin selector
      named SCENTING Lnet/minecraft/entity/passive/SnifferEntity$State;SCENTING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42667 Lnet/minecraft/class_8153$class_8154;field_42667:Lnet/minecraft/class_8153$class_8154;
      official c Lchx$a;c:Lchx$a;
    • SNIFFING

      public static final SnifferEntity.State SNIFFING
      Mappings:
      Namespace Name Mixin selector
      named SNIFFING Lnet/minecraft/entity/passive/SnifferEntity$State;SNIFFING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42668 Lnet/minecraft/class_8153$class_8154;field_42668:Lnet/minecraft/class_8153$class_8154;
      official d Lchx$a;d:Lchx$a;
    • SEARCHING

      public static final SnifferEntity.State SEARCHING
      Mappings:
      Namespace Name Mixin selector
      named SEARCHING Lnet/minecraft/entity/passive/SnifferEntity$State;SEARCHING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42669 Lnet/minecraft/class_8153$class_8154;field_42669:Lnet/minecraft/class_8153$class_8154;
      official e Lchx$a;e:Lchx$a;
    • DIGGING

      public static final SnifferEntity.State DIGGING
      Mappings:
      Namespace Name Mixin selector
      named DIGGING Lnet/minecraft/entity/passive/SnifferEntity$State;DIGGING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42670 Lnet/minecraft/class_8153$class_8154;field_42670:Lnet/minecraft/class_8153$class_8154;
      official f Lchx$a;f:Lchx$a;
    • RISING

      public static final SnifferEntity.State RISING
      Mappings:
      Namespace Name Mixin selector
      named RISING Lnet/minecraft/entity/passive/SnifferEntity$State;RISING:Lnet/minecraft/entity/passive/SnifferEntity$State;
      intermediary field_42671 Lnet/minecraft/class_8153$class_8154;field_42671:Lnet/minecraft/class_8153$class_8154;
      official g Lchx$a;g:Lchx$a;
  • Field Details

    • INDEX_TO_VALUE

      public static final IntFunction<SnifferEntity.State> INDEX_TO_VALUE
      Mappings:
      Namespace Name Mixin selector
      named INDEX_TO_VALUE Lnet/minecraft/entity/passive/SnifferEntity$State;INDEX_TO_VALUE:Ljava/util/function/IntFunction;
      intermediary field_48340 Lnet/minecraft/class_8153$class_8154;field_48340:Ljava/util/function/IntFunction;
      official h Lchx$a;h:Ljava/util/function/IntFunction;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,SnifferEntity.State> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/entity/passive/SnifferEntity$State;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48341 Lnet/minecraft/class_8153$class_8154;field_48341:Lnet/minecraft/class_9139;
      official i Lchx$a;i:Lzn;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/entity/passive/SnifferEntity$State;index:I
      intermediary field_48342 Lnet/minecraft/class_8153$class_8154;field_48342:I
      official j Lchx$a;j:I
  • Constructor Details

    • State

      private State(int index)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/SnifferEntity$State;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_8153$class_8154;<init>(Ljava/lang/String;II)V
      official <init> Lchx$a;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static SnifferEntity.State[] 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 SnifferEntity.State 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
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/entity/passive/SnifferEntity$State;getIndex()I
      intermediary method_56085 Lnet/minecraft/class_8153$class_8154;method_56085()I
      official a Lchx$a;a()I