Package net.minecraft.entity.passive
Enum Class SnifferEntity.State
- All Implemented Interfaces:
Serializable,Comparable<SnifferEntity.State>,Constable
- Enclosing class:
SnifferEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/SnifferEntity$Stateintermediary net/minecraft/class_8153$class_8154official cmu$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final IntFunction<SnifferEntity.State> static final PacketCodec<ByteBuf, SnifferEntity.State> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()static SnifferEntity.StateReturns the enum constant of this class with the specified name.static SnifferEntity.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLING
- Mappings:
Namespace Name Mixin selector named IDLINGLnet/minecraft/entity/passive/SnifferEntity$State;IDLING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42665Lnet/minecraft/class_8153$class_8154;field_42665:Lnet/minecraft/class_8153$class_8154;official aLcmu$a;a:Lcmu$a;
-
FEELING_HAPPY
- Mappings:
Namespace Name Mixin selector named FEELING_HAPPYLnet/minecraft/entity/passive/SnifferEntity$State;FEELING_HAPPY:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42666Lnet/minecraft/class_8153$class_8154;field_42666:Lnet/minecraft/class_8153$class_8154;official bLcmu$a;b:Lcmu$a;
-
SCENTING
- Mappings:
Namespace Name Mixin selector named SCENTINGLnet/minecraft/entity/passive/SnifferEntity$State;SCENTING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42667Lnet/minecraft/class_8153$class_8154;field_42667:Lnet/minecraft/class_8153$class_8154;official cLcmu$a;c:Lcmu$a;
-
SNIFFING
- Mappings:
Namespace Name Mixin selector named SNIFFINGLnet/minecraft/entity/passive/SnifferEntity$State;SNIFFING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42668Lnet/minecraft/class_8153$class_8154;field_42668:Lnet/minecraft/class_8153$class_8154;official dLcmu$a;d:Lcmu$a;
-
SEARCHING
- Mappings:
Namespace Name Mixin selector named SEARCHINGLnet/minecraft/entity/passive/SnifferEntity$State;SEARCHING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42669Lnet/minecraft/class_8153$class_8154;field_42669:Lnet/minecraft/class_8153$class_8154;official eLcmu$a;e:Lcmu$a;
-
DIGGING
- Mappings:
Namespace Name Mixin selector named DIGGINGLnet/minecraft/entity/passive/SnifferEntity$State;DIGGING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42670Lnet/minecraft/class_8153$class_8154;field_42670:Lnet/minecraft/class_8153$class_8154;official fLcmu$a;f:Lcmu$a;
-
RISING
- Mappings:
Namespace Name Mixin selector named RISINGLnet/minecraft/entity/passive/SnifferEntity$State;RISING:Lnet/minecraft/entity/passive/SnifferEntity$State;intermediary field_42671Lnet/minecraft/class_8153$class_8154;field_42671:Lnet/minecraft/class_8153$class_8154;official gLcmu$a;g:Lcmu$a;
-
-
Field Details
-
INDEX_TO_VALUE
- Mappings:
Namespace Name Mixin selector named INDEX_TO_VALUELnet/minecraft/entity/passive/SnifferEntity$State;INDEX_TO_VALUE:Ljava/util/function/IntFunction;intermediary field_48340Lnet/minecraft/class_8153$class_8154;field_48340:Ljava/util/function/IntFunction;official hLcmu$a;h:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/passive/SnifferEntity$State;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48341Lnet/minecraft/class_8153$class_8154;field_48341:Lnet/minecraft/class_9139;official iLcmu$a;i:Lze;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/entity/passive/SnifferEntity$State;index:Iintermediary field_48342Lnet/minecraft/class_8153$class_8154;field_48342:Iofficial jLcmu$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)Vintermediary <init>Lnet/minecraft/class_8153$class_8154;<init>(Ljava/lang/String;II)Vofficial <init>Lcmu$a;<init>(Ljava/lang/String;II)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 getIndexLnet/minecraft/entity/passive/SnifferEntity$State;getIndex()Iintermediary method_56085Lnet/minecraft/class_8153$class_8154;method_56085()Iofficial aLcmu$a;a()I
-