Package net.minecraft.entity.mob
Enum MobEntity.Location
- All Implemented Interfaces:
Serializable,Comparable<MobEntity.Location>,java.lang.constant.Constable
- Enclosing class:
- MobEntity
public static enum MobEntity.Location extends Enum<MobEntity.Location>
- Mappings:
Namespace Name official ps$aintermediary net/minecraft/class_1753$class_1754named 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
-
Constructor Summary
Constructors Modifier Constructor Description privateLocation() -
Method Summary
Modifier and Type Method Description static MobEntity.LocationvalueOf(String name)Returns the enum constant of this type with the specified name.static MobEntity.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ON_GROUND
- Mappings:
Namespace Name Mixin selector official aLps$a;a:Lps$a;intermediary field_7510Lnet/minecraft/class_1753$class_1754;field_7510:Lnet/minecraft/class_1753$class_1754;named ON_GROUNDLnet/minecraft/entity/mob/MobEntity$Location;ON_GROUND:Lnet/minecraft/entity/mob/MobEntity$Location;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector official bLps$a;b:Lps$a;intermediary field_7511Lnet/minecraft/class_1753$class_1754;field_7511:Lnet/minecraft/class_1753$class_1754;named IN_AIRLnet/minecraft/entity/mob/MobEntity$Location;IN_AIR:Lnet/minecraft/entity/mob/MobEntity$Location;
-
IN_WATER
- Mappings:
Namespace Name Mixin selector official cLps$a;c:Lps$a;intermediary field_7512Lnet/minecraft/class_1753$class_1754;field_7512:Lnet/minecraft/class_1753$class_1754;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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-