枚举 PathNodeType

    • 枚举常量详细资料

      • BLOCKED

        public static final PathNodeType BLOCKED
        Mappings:
        Namespace Name Mixin selector
        official a Ldfw;a:Ldfw;
        intermediary field_22 Lnet/minecraft/class_7;field_22:Lnet/minecraft/class_7;
        named BLOCKED Lnet/minecraft/entity/ai/pathing/PathNodeType;BLOCKED:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • OPEN

        public static final PathNodeType OPEN
        Mappings:
        Namespace Name Mixin selector
        official b Ldfw;b:Ldfw;
        intermediary field_7 Lnet/minecraft/class_7;field_7:Lnet/minecraft/class_7;
        named OPEN Lnet/minecraft/entity/ai/pathing/PathNodeType;OPEN:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • WALKABLE

        public static final PathNodeType WALKABLE
        Mappings:
        Namespace Name Mixin selector
        official c Ldfw;c:Ldfw;
        intermediary field_12 Lnet/minecraft/class_7;field_12:Lnet/minecraft/class_7;
        named WALKABLE Lnet/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 d Ldfw;d:Ldfw;
        intermediary field_26446 Lnet/minecraft/class_7;field_26446:Lnet/minecraft/class_7;
        named WALKABLE_DOOR Lnet/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 e Ldfw;e:Ldfw;
        intermediary field_19 Lnet/minecraft/class_7;field_19:Lnet/minecraft/class_7;
        named TRAPDOOR Lnet/minecraft/entity/ai/pathing/PathNodeType;TRAPDOOR:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • FENCE

        public static final PathNodeType FENCE
        Mappings:
        Namespace Name Mixin selector
        official f Ldfw;f:Ldfw;
        intermediary field_10 Lnet/minecraft/class_7;field_10:Lnet/minecraft/class_7;
        named FENCE Lnet/minecraft/entity/ai/pathing/PathNodeType;FENCE:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • LAVA

        public static final PathNodeType LAVA
        Mappings:
        Namespace Name Mixin selector
        official g Ldfw;g:Ldfw;
        intermediary field_14 Lnet/minecraft/class_7;field_14:Lnet/minecraft/class_7;
        named LAVA Lnet/minecraft/entity/ai/pathing/PathNodeType;LAVA:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • WATER

        public static final PathNodeType WATER
        Mappings:
        Namespace Name Mixin selector
        official h Ldfw;h:Ldfw;
        intermediary field_18 Lnet/minecraft/class_7;field_18:Lnet/minecraft/class_7;
        named WATER Lnet/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 i Ldfw;i:Ldfw;
        intermediary field_4 Lnet/minecraft/class_7;field_4:Lnet/minecraft/class_7;
        named WATER_BORDER Lnet/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 j Ldfw;j:Ldfw;
        intermediary field_21 Lnet/minecraft/class_7;field_21:Lnet/minecraft/class_7;
        named RAIL Lnet/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 k Ldfw;k:Ldfw;
        intermediary field_25418 Lnet/minecraft/class_7;field_25418:Lnet/minecraft/class_7;
        named UNPASSABLE_RAIL Lnet/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 l Ldfw;l:Ldfw;
        intermediary field_9 Lnet/minecraft/class_7;field_9:Lnet/minecraft/class_7;
        named DANGER_FIRE Lnet/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 m Ldfw;m:Ldfw;
        intermediary field_3 Lnet/minecraft/class_7;field_3:Lnet/minecraft/class_7;
        named DAMAGE_FIRE Lnet/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 n Ldfw;n:Ldfw;
        intermediary field_20 Lnet/minecraft/class_7;field_20:Lnet/minecraft/class_7;
        named DANGER_CACTUS Lnet/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 o Ldfw;o:Ldfw;
        intermediary field_11 Lnet/minecraft/class_7;field_11:Lnet/minecraft/class_7;
        named DAMAGE_CACTUS Lnet/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 p Ldfw;p:Ldfw;
        intermediary field_5 Lnet/minecraft/class_7;field_5:Lnet/minecraft/class_7;
        named DANGER_OTHER Lnet/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 q Ldfw;q:Ldfw;
        intermediary field_17 Lnet/minecraft/class_7;field_17:Lnet/minecraft/class_7;
        named DAMAGE_OTHER Lnet/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 r Ldfw;r:Ldfw;
        intermediary field_15 Lnet/minecraft/class_7;field_15:Lnet/minecraft/class_7;
        named DOOR_OPEN Lnet/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 s Ldfw;s:Ldfw;
        intermediary field_23 Lnet/minecraft/class_7;field_23:Lnet/minecraft/class_7;
        named DOOR_WOOD_CLOSED Lnet/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 t Ldfw;t:Ldfw;
        intermediary field_8 Lnet/minecraft/class_7;field_8:Lnet/minecraft/class_7;
        named DOOR_IRON_CLOSED Lnet/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 u Ldfw;u:Ldfw;
        intermediary field_16 Lnet/minecraft/class_7;field_16:Lnet/minecraft/class_7;
        named BREACH Lnet/minecraft/entity/ai/pathing/PathNodeType;BREACH:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      • LEAVES

        public static final PathNodeType LEAVES
        Mappings:
        Namespace Name Mixin selector
        official v Ldfw;v:Ldfw;
        intermediary field_6 Lnet/minecraft/class_7;field_6:Lnet/minecraft/class_7;
        named LEAVES Lnet/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 w Ldfw;w:Ldfw;
        intermediary field_21326 Lnet/minecraft/class_7;field_21326:Lnet/minecraft/class_7;
        named STICKY_HONEY Lnet/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 x Ldfw;x:Ldfw;
        intermediary field_21516 Lnet/minecraft/class_7;field_21516:Lnet/minecraft/class_7;
        named COCOA Lnet/minecraft/entity/ai/pathing/PathNodeType;COCOA:Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • 字段详细资料

      • defaultPenalty

        private final float defaultPenalty
        Mappings:
        Namespace Name Mixin selector
        official y Ldfw;y:F
        intermediary field_13 Lnet/minecraft/class_7;field_13:F
        named defaultPenalty Lnet/minecraft/entity/ai/pathing/PathNodeType;defaultPenalty:F
    • 构造器详细资料

      • PathNodeType

        private PathNodeType​(float defaultPenalty)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldfw;<init>(Ljava/lang/String;IF)V
        intermediary <init> Lnet/minecraft/class_7;<init>(Ljava/lang/String;IF)V
        named <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 a Ldfw;a()F
        intermediary method_11 Lnet/minecraft/class_7;method_11()F
        named getDefaultPenalty Lnet/minecraft/entity/ai/pathing/PathNodeType;getDefaultPenalty()F