Package net.minecraft.entity.passive
Enum Class SnifferEntity.State
- All Implemented Interfaces:
Serializable,Comparable<SnifferEntity.State>,Constable
- Enclosing class:
SnifferEntity
- Mappings:
Namespace Name official btv$aintermediary net/minecraft/class_8153$class_8154named net/minecraft/entity/passive/SnifferEntity$State
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 official aLbtv$a;a:Lbtv$a;intermediary field_42665Lnet/minecraft/class_8153$class_8154;field_42665:Lnet/minecraft/class_8153$class_8154;named IDLINGLnet/minecraft/entity/passive/SnifferEntity$State;IDLING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
FEELING_HAPPY
- Mappings:
Namespace Name Mixin selector official bLbtv$a;b:Lbtv$a;intermediary field_42666Lnet/minecraft/class_8153$class_8154;field_42666:Lnet/minecraft/class_8153$class_8154;named FEELING_HAPPYLnet/minecraft/entity/passive/SnifferEntity$State;FEELING_HAPPY:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
SCENTING
- Mappings:
Namespace Name Mixin selector official cLbtv$a;c:Lbtv$a;intermediary field_42667Lnet/minecraft/class_8153$class_8154;field_42667:Lnet/minecraft/class_8153$class_8154;named SCENTINGLnet/minecraft/entity/passive/SnifferEntity$State;SCENTING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
SNIFFING
- Mappings:
Namespace Name Mixin selector official dLbtv$a;d:Lbtv$a;intermediary field_42668Lnet/minecraft/class_8153$class_8154;field_42668:Lnet/minecraft/class_8153$class_8154;named SNIFFINGLnet/minecraft/entity/passive/SnifferEntity$State;SNIFFING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
SEARCHING
- Mappings:
Namespace Name Mixin selector official eLbtv$a;e:Lbtv$a;intermediary field_42669Lnet/minecraft/class_8153$class_8154;field_42669:Lnet/minecraft/class_8153$class_8154;named SEARCHINGLnet/minecraft/entity/passive/SnifferEntity$State;SEARCHING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
DIGGING
- Mappings:
Namespace Name Mixin selector official fLbtv$a;f:Lbtv$a;intermediary field_42670Lnet/minecraft/class_8153$class_8154;field_42670:Lnet/minecraft/class_8153$class_8154;named DIGGINGLnet/minecraft/entity/passive/SnifferEntity$State;DIGGING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
RISING
- Mappings:
Namespace Name Mixin selector official gLbtv$a;g:Lbtv$a;intermediary field_42671Lnet/minecraft/class_8153$class_8154;field_42671:Lnet/minecraft/class_8153$class_8154;named RISINGLnet/minecraft/entity/passive/SnifferEntity$State;RISING:Lnet/minecraft/entity/passive/SnifferEntity$State;
-
-
Constructor Details
-
State
private State()
-
-
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
-