Package net.minecraft.entity.mob
Enum Class MobEntity.Location
- All Implemented Interfaces:
Serializable,Comparable<MobEntity.Location>,Constable
- Enclosing class:
- MobEntity
- Mappings:
Namespace Name official sb$aintermediary net/minecraft/class_871$class_2612named net/minecraft/entity/mob/MobEntity$Location
-
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 MobEntity.LocationReturns the enum constant of this class with the specified name.static MobEntity.Location[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_GROUND
- Mappings:
Namespace Name Mixin selector official aLsb$a;a:Lsb$a;intermediary field_11915Lnet/minecraft/class_871$class_2612;field_11915:Lnet/minecraft/class_871$class_2612;named ON_GROUNDLnet/minecraft/entity/mob/MobEntity$Location;ON_GROUND:Lnet/minecraft/entity/mob/MobEntity$Location;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector official bLsb$a;b:Lsb$a;intermediary field_11916Lnet/minecraft/class_871$class_2612;field_11916:Lnet/minecraft/class_871$class_2612;named IN_AIRLnet/minecraft/entity/mob/MobEntity$Location;IN_AIR:Lnet/minecraft/entity/mob/MobEntity$Location;
-
IN_WATER
- Mappings:
Namespace Name Mixin selector official cLsb$a;c:Lsb$a;intermediary field_11917Lnet/minecraft/class_871$class_2612;field_11917:Lnet/minecraft/class_871$class_2612;named IN_WATERLnet/minecraft/entity/mob/MobEntity$Location;IN_WATER:Lnet/minecraft/entity/mob/MobEntity$Location;
-
-
Constructor Details
-
Location
private Location()
-
-
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
-