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 dcu
intermediary net/minecraft/class_10
named 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 private
NavigationType()
-
Method Summary
Modifier and Type Method Description static NavigationType
valueOf(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 a
Ldcu;a:Ldcu;
intermediary field_50
Lnet/minecraft/class_10;field_50:Lnet/minecraft/class_10;
named LAND
Lnet/minecraft/entity/ai/pathing/NavigationType;LAND:Lnet/minecraft/entity/ai/pathing/NavigationType;
-
WATER
- Mappings:
Namespace Name Mixin selector official b
Ldcu;b:Ldcu;
intermediary field_48
Lnet/minecraft/class_10;field_48:Lnet/minecraft/class_10;
named WATER
Lnet/minecraft/entity/ai/pathing/NavigationType;WATER:Lnet/minecraft/entity/ai/pathing/NavigationType;
-
AIR
- Mappings:
Namespace Name Mixin selector official c
Ldcu;c:Ldcu;
intermediary field_51
Lnet/minecraft/class_10;field_51:Lnet/minecraft/class_10;
named AIR
Lnet/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
-