枚举 PathNodeType
- java.lang.Object
-
- java.lang.Enum<PathNodeType>
-
- net.minecraft.entity.ai.pathing.PathNodeType
-
- 所有已实现的接口:
Serializable,Comparable<PathNodeType>
public enum PathNodeType extends Enum<PathNodeType>
- Mappings:
Namespace Name official dfwintermediary net/minecraft/class_7named net/minecraft/entity/ai/pathing/PathNodeType
-
-
字段概要
字段 修饰符和类型 字段 说明 private floatdefaultPenalty
-
构造器概要
构造器 限定符 构造器 说明 privatePathNodeType(float defaultPenalty)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 floatgetDefaultPenalty()static PathNodeTypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static PathNodeType[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
BLOCKED
public static final PathNodeType BLOCKED
- Mappings:
Namespace Name Mixin selector official aLdfw;a:Ldfw;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
public static final PathNodeType OPEN
- Mappings:
Namespace Name Mixin selector official bLdfw;b:Ldfw;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
public static final PathNodeType WALKABLE
- Mappings:
Namespace Name Mixin selector official cLdfw;c:Ldfw;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
public static final PathNodeType WALKABLE_DOOR
- Mappings:
Namespace Name Mixin selector official dLdfw;d:Ldfw;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
public static final PathNodeType TRAPDOOR
- Mappings:
Namespace Name Mixin selector official eLdfw;e:Ldfw;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;
-
FENCE
public static final PathNodeType FENCE
- Mappings:
Namespace Name Mixin selector official fLdfw;f:Ldfw;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
public static final PathNodeType LAVA
- Mappings:
Namespace Name Mixin selector official gLdfw;g:Ldfw;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
public static final PathNodeType WATER
- Mappings:
Namespace Name Mixin selector official hLdfw;h:Ldfw;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
public static final PathNodeType WATER_BORDER
- Mappings:
Namespace Name Mixin selector official iLdfw;i:Ldfw;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
public static final PathNodeType RAIL
- Mappings:
Namespace Name Mixin selector official jLdfw;j:Ldfw;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
public static final PathNodeType UNPASSABLE_RAIL
- Mappings:
Namespace Name Mixin selector official kLdfw;k:Ldfw;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
public static final PathNodeType DANGER_FIRE
- Mappings:
Namespace Name Mixin selector official lLdfw;l:Ldfw;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
public static final PathNodeType DAMAGE_FIRE
- Mappings:
Namespace Name Mixin selector official mLdfw;m:Ldfw;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
public static final PathNodeType DANGER_CACTUS
- Mappings:
Namespace Name Mixin selector official nLdfw;n:Ldfw;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
public static final PathNodeType DAMAGE_CACTUS
- Mappings:
Namespace Name Mixin selector official oLdfw;o:Ldfw;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
public static final PathNodeType DANGER_OTHER
- Mappings:
Namespace Name Mixin selector official pLdfw;p:Ldfw;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
public static final PathNodeType DAMAGE_OTHER
- Mappings:
Namespace Name Mixin selector official qLdfw;q:Ldfw;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
public static final PathNodeType DOOR_OPEN
- Mappings:
Namespace Name Mixin selector official rLdfw;r:Ldfw;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
public static final PathNodeType DOOR_WOOD_CLOSED
- Mappings:
Namespace Name Mixin selector official sLdfw;s:Ldfw;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
public static final PathNodeType DOOR_IRON_CLOSED
- Mappings:
Namespace Name Mixin selector official tLdfw;t:Ldfw;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
public static final PathNodeType BREACH
- Mappings:
Namespace Name Mixin selector official uLdfw;u:Ldfw;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
public static final PathNodeType LEAVES
- Mappings:
Namespace Name Mixin selector official vLdfw;v:Ldfw;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
public static final PathNodeType STICKY_HONEY
- Mappings:
Namespace Name Mixin selector official wLdfw;w:Ldfw;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
public static final PathNodeType COCOA
- Mappings:
Namespace Name Mixin selector official xLdfw;x:Ldfw;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;
-
-
构造器详细资料
-
PathNodeType
private PathNodeType(float defaultPenalty)
- Mappings:
Namespace Name Mixin selector official <init>Ldfw;<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
-
-
方法详细资料
-
values
public static PathNodeType[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (PathNodeType c : PathNodeType.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static PathNodeType valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getDefaultPenalty
public float getDefaultPenalty()
- Mappings:
Namespace Name Mixin selector official aLdfw;a()Fintermediary method_11Lnet/minecraft/class_7;method_11()Fnamed getDefaultPenaltyLnet/minecraft/entity/ai/pathing/PathNodeType;getDefaultPenalty()F
-
-