Package net.minecraft.entity.ai.pathing
Enum NavigationType
- All Implemented Interfaces:
Serializable,Comparable<NavigationType>,java.lang.constant.Constable
public enum NavigationType extends Enum<NavigationType>
- Mappings:
Namespace Name official dcuintermediary net/minecraft/class_10named net/minecraft/entity/ai/pathing/NavigationType
-
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 privateNavigationType() -
Method Summary
Modifier and Type Method Description static NavigationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NavigationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LAND
- Mappings:
Namespace Name Mixin selector official aLdcu;a:Ldcu;intermediary field_50Lnet/minecraft/class_10;field_50:Lnet/minecraft/class_10;named LANDLnet/minecraft/entity/ai/pathing/NavigationType;LAND:Lnet/minecraft/entity/ai/pathing/NavigationType;
-
WATER
- Mappings:
Namespace Name Mixin selector official bLdcu;b:Ldcu;intermediary field_48Lnet/minecraft/class_10;field_48:Lnet/minecraft/class_10;named WATERLnet/minecraft/entity/ai/pathing/NavigationType;WATER:Lnet/minecraft/entity/ai/pathing/NavigationType;
-
AIR
- Mappings:
Namespace Name Mixin selector official cLdcu;c:Ldcu;intermediary field_51Lnet/minecraft/class_10;field_51:Lnet/minecraft/class_10;named AIRLnet/minecraft/entity/ai/pathing/NavigationType;AIR:Lnet/minecraft/entity/ai/pathing/NavigationType;
-
-
Constructor Details
-
NavigationType
private NavigationType()
-
-
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
-