Package net.minecraft.entity.ai.pathing
Enum Class PathNodeType
- All Implemented Interfaces:
Serializable,Comparable<PathNodeType>,Constable
- Mappings:
Namespace Name official dqhintermediary net/minecraft/class_7named net/minecraft/entity/ai/pathing/PathNodeType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatstatic PathNodeTypeReturns the enum constant of this class with the specified name.static PathNodeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLOCKED
- Mappings:
Namespace Name Mixin selector official aLdqh;a:Ldqh;intermediary field_22Lnet/minecraft/class_7;field_22:Lnet/minecraft/class_7;named BLOCKEDLnet/minecraft/entity/ai/pathing/PathNodeType;BLOCKED:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
OPEN
- Mappings:
Namespace Name Mixin selector official bLdqh;b:Ldqh;intermediary field_7Lnet/minecraft/class_7;field_7:Lnet/minecraft/class_7;named OPENLnet/minecraft/entity/ai/pathing/PathNodeType;OPEN:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
WALKABLE
- Mappings:
Namespace Name Mixin selector official cLdqh;c:Ldqh;intermediary field_12Lnet/minecraft/class_7;field_12:Lnet/minecraft/class_7;named WALKABLELnet/minecraft/entity/ai/pathing/PathNodeType;WALKABLE:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
WALKABLE_DOOR
- Mappings:
Namespace Name Mixin selector official dLdqh;d:Ldqh;intermediary field_26446Lnet/minecraft/class_7;field_26446:Lnet/minecraft/class_7;named WALKABLE_DOORLnet/minecraft/entity/ai/pathing/PathNodeType;WALKABLE_DOOR:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
TRAPDOOR
- Mappings:
Namespace Name Mixin selector official eLdqh;e:Ldqh;intermediary field_19Lnet/minecraft/class_7;field_19:Lnet/minecraft/class_7;named TRAPDOORLnet/minecraft/entity/ai/pathing/PathNodeType;TRAPDOOR:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
POWDER_SNOW
- Mappings:
Namespace Name Mixin selector official fLdqh;f:Ldqh;intermediary field_33534Lnet/minecraft/class_7;field_33534:Lnet/minecraft/class_7;named POWDER_SNOWLnet/minecraft/entity/ai/pathing/PathNodeType;POWDER_SNOW:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DANGER_POWDER_SNOW
- Mappings:
Namespace Name Mixin selector official gLdqh;g:Ldqh;intermediary field_36432Lnet/minecraft/class_7;field_36432:Lnet/minecraft/class_7;named DANGER_POWDER_SNOWLnet/minecraft/entity/ai/pathing/PathNodeType;DANGER_POWDER_SNOW:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
FENCE
- Mappings:
Namespace Name Mixin selector official hLdqh;h:Ldqh;intermediary field_10Lnet/minecraft/class_7;field_10:Lnet/minecraft/class_7;named FENCELnet/minecraft/entity/ai/pathing/PathNodeType;FENCE:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
LAVA
- Mappings:
Namespace Name Mixin selector official iLdqh;i:Ldqh;intermediary field_14Lnet/minecraft/class_7;field_14:Lnet/minecraft/class_7;named LAVALnet/minecraft/entity/ai/pathing/PathNodeType;LAVA:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
WATER
- Mappings:
Namespace Name Mixin selector official jLdqh;j:Ldqh;intermediary field_18Lnet/minecraft/class_7;field_18:Lnet/minecraft/class_7;named WATERLnet/minecraft/entity/ai/pathing/PathNodeType;WATER:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
WATER_BORDER
- Mappings:
Namespace Name Mixin selector official kLdqh;k:Ldqh;intermediary field_4Lnet/minecraft/class_7;field_4:Lnet/minecraft/class_7;named WATER_BORDERLnet/minecraft/entity/ai/pathing/PathNodeType;WATER_BORDER:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
RAIL
- Mappings:
Namespace Name Mixin selector official lLdqh;l:Ldqh;intermediary field_21Lnet/minecraft/class_7;field_21:Lnet/minecraft/class_7;named RAILLnet/minecraft/entity/ai/pathing/PathNodeType;RAIL:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
UNPASSABLE_RAIL
- Mappings:
Namespace Name Mixin selector official mLdqh;m:Ldqh;intermediary field_25418Lnet/minecraft/class_7;field_25418:Lnet/minecraft/class_7;named UNPASSABLE_RAILLnet/minecraft/entity/ai/pathing/PathNodeType;UNPASSABLE_RAIL:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DANGER_FIRE
- Mappings:
Namespace Name Mixin selector official nLdqh;n:Ldqh;intermediary field_9Lnet/minecraft/class_7;field_9:Lnet/minecraft/class_7;named DANGER_FIRELnet/minecraft/entity/ai/pathing/PathNodeType;DANGER_FIRE:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DAMAGE_FIRE
- Mappings:
Namespace Name Mixin selector official oLdqh;o:Ldqh;intermediary field_3Lnet/minecraft/class_7;field_3:Lnet/minecraft/class_7;named DAMAGE_FIRELnet/minecraft/entity/ai/pathing/PathNodeType;DAMAGE_FIRE:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DANGER_CACTUS
- Mappings:
Namespace Name Mixin selector official pLdqh;p:Ldqh;intermediary field_20Lnet/minecraft/class_7;field_20:Lnet/minecraft/class_7;named DANGER_CACTUSLnet/minecraft/entity/ai/pathing/PathNodeType;DANGER_CACTUS:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DAMAGE_CACTUS
- Mappings:
Namespace Name Mixin selector official qLdqh;q:Ldqh;intermediary field_11Lnet/minecraft/class_7;field_11:Lnet/minecraft/class_7;named DAMAGE_CACTUSLnet/minecraft/entity/ai/pathing/PathNodeType;DAMAGE_CACTUS:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DANGER_OTHER
- Mappings:
Namespace Name Mixin selector official rLdqh;r:Ldqh;intermediary field_5Lnet/minecraft/class_7;field_5:Lnet/minecraft/class_7;named DANGER_OTHERLnet/minecraft/entity/ai/pathing/PathNodeType;DANGER_OTHER:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DAMAGE_OTHER
- Mappings:
Namespace Name Mixin selector official sLdqh;s:Ldqh;intermediary field_17Lnet/minecraft/class_7;field_17:Lnet/minecraft/class_7;named DAMAGE_OTHERLnet/minecraft/entity/ai/pathing/PathNodeType;DAMAGE_OTHER:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DOOR_OPEN
- Mappings:
Namespace Name Mixin selector official tLdqh;t:Ldqh;intermediary field_15Lnet/minecraft/class_7;field_15:Lnet/minecraft/class_7;named DOOR_OPENLnet/minecraft/entity/ai/pathing/PathNodeType;DOOR_OPEN:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DOOR_WOOD_CLOSED
- Mappings:
Namespace Name Mixin selector official uLdqh;u:Ldqh;intermediary field_23Lnet/minecraft/class_7;field_23:Lnet/minecraft/class_7;named DOOR_WOOD_CLOSEDLnet/minecraft/entity/ai/pathing/PathNodeType;DOOR_WOOD_CLOSED:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
DOOR_IRON_CLOSED
- Mappings:
Namespace Name Mixin selector official vLdqh;v:Ldqh;intermediary field_8Lnet/minecraft/class_7;field_8:Lnet/minecraft/class_7;named DOOR_IRON_CLOSEDLnet/minecraft/entity/ai/pathing/PathNodeType;DOOR_IRON_CLOSED:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
BREACH
- Mappings:
Namespace Name Mixin selector official wLdqh;w:Ldqh;intermediary field_16Lnet/minecraft/class_7;field_16:Lnet/minecraft/class_7;named BREACHLnet/minecraft/entity/ai/pathing/PathNodeType;BREACH:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
LEAVES
- Mappings:
Namespace Name Mixin selector official xLdqh;x:Ldqh;intermediary field_6Lnet/minecraft/class_7;field_6:Lnet/minecraft/class_7;named LEAVESLnet/minecraft/entity/ai/pathing/PathNodeType;LEAVES:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
STICKY_HONEY
- Mappings:
Namespace Name Mixin selector official yLdqh;y:Ldqh;intermediary field_21326Lnet/minecraft/class_7;field_21326:Lnet/minecraft/class_7;named STICKY_HONEYLnet/minecraft/entity/ai/pathing/PathNodeType;STICKY_HONEY:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
COCOA
- Mappings:
Namespace Name Mixin selector official zLdqh;z:Ldqh;intermediary field_21516Lnet/minecraft/class_7;field_21516:Lnet/minecraft/class_7;named COCOALnet/minecraft/entity/ai/pathing/PathNodeType;COCOA:Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
-
Field Details
-
defaultPenalty
private final float defaultPenalty- Mappings:
Namespace Name Mixin selector official ALdqh;A:Fintermediary field_13Lnet/minecraft/class_7;field_13:Fnamed defaultPenaltyLnet/minecraft/entity/ai/pathing/PathNodeType;defaultPenalty:F
-
-
Constructor Details
-
PathNodeType
private PathNodeType(float defaultPenalty) - Mappings:
Namespace Name Mixin selector official <init>Ldqh;<init>(Ljava/lang/String;IF)Vintermediary <init>Lnet/minecraft/class_7;<init>(Ljava/lang/String;IF)Vnamed <init>Lnet/minecraft/entity/ai/pathing/PathNodeType;<init>(Ljava/lang/String;IF)V
-
-
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
-
getDefaultPenalty
public float getDefaultPenalty()- Mappings:
Namespace Name Mixin selector official aLdqh;a()Fintermediary method_11Lnet/minecraft/class_7;method_11()Fnamed getDefaultPenaltyLnet/minecraft/entity/ai/pathing/PathNodeType;getDefaultPenalty()F
-