类 PathNode

  • 直接已知子类:
    TargetPathNode

    public class PathNode
    extends Object
    Mappings:
    Namespace Name
    official dfy
    intermediary net/minecraft/class_9
    named net/minecraft/entity/ai/pathing/PathNode
    • 字段详细资料

      • x

        public final int x
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a:I
        intermediary field_40 Lnet/minecraft/class_9;field_40:I
        named x Lnet/minecraft/entity/ai/pathing/PathNode;x:I
      • y

        public final int y
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b:I
        intermediary field_39 Lnet/minecraft/class_9;field_39:I
        named y Lnet/minecraft/entity/ai/pathing/PathNode;y:I
      • z

        public final int z
        Mappings:
        Namespace Name Mixin selector
        official c Ldfy;c:I
        intermediary field_38 Lnet/minecraft/class_9;field_38:I
        named z Lnet/minecraft/entity/ai/pathing/PathNode;z:I
      • hashCode

        private final int hashCode
        Mappings:
        Namespace Name Mixin selector
        official m Ldfy;m:I
        intermediary field_44 Lnet/minecraft/class_9;field_44:I
        named hashCode Lnet/minecraft/entity/ai/pathing/PathNode;hashCode:I
      • heapIndex

        public int heapIndex
        Mappings:
        Namespace Name Mixin selector
        official d Ldfy;d:I
        intermediary field_37 Lnet/minecraft/class_9;field_37:I
        named heapIndex Lnet/minecraft/entity/ai/pathing/PathNode;heapIndex:I
      • penalizedPathLength

        public float penalizedPathLength
        Mappings:
        Namespace Name Mixin selector
        official e Ldfy;e:F
        intermediary field_36 Lnet/minecraft/class_9;field_36:F
        named penalizedPathLength Lnet/minecraft/entity/ai/pathing/PathNode;penalizedPathLength:F
      • distanceToNearestTarget

        public float distanceToNearestTarget
        Mappings:
        Namespace Name Mixin selector
        official f Ldfy;f:F
        intermediary field_34 Lnet/minecraft/class_9;field_34:F
        named distanceToNearestTarget Lnet/minecraft/entity/ai/pathing/PathNode;distanceToNearestTarget:F
      • heapWeight

        public float heapWeight
        Mappings:
        Namespace Name Mixin selector
        official g Ldfy;g:F
        intermediary field_47 Lnet/minecraft/class_9;field_47:F
        named heapWeight Lnet/minecraft/entity/ai/pathing/PathNode;heapWeight:F
      • previous

        public PathNode previous
        Mappings:
        Namespace Name Mixin selector
        official h Ldfy;h:Ldfy;
        intermediary field_35 Lnet/minecraft/class_9;field_35:Lnet/minecraft/class_9;
        named previous Lnet/minecraft/entity/ai/pathing/PathNode;previous:Lnet/minecraft/entity/ai/pathing/PathNode;
      • visited

        public boolean visited
        Mappings:
        Namespace Name Mixin selector
        official i Ldfy;i:Z
        intermediary field_42 Lnet/minecraft/class_9;field_42:Z
        named visited Lnet/minecraft/entity/ai/pathing/PathNode;visited:Z
      • pathLength

        public float pathLength
        Mappings:
        Namespace Name Mixin selector
        official j Ldfy;j:F
        intermediary field_46 Lnet/minecraft/class_9;field_46:F
        named pathLength Lnet/minecraft/entity/ai/pathing/PathNode;pathLength:F
      • penalty

        public float penalty
        Mappings:
        Namespace Name Mixin selector
        official k Ldfy;k:F
        intermediary field_43 Lnet/minecraft/class_9;field_43:F
        named penalty Lnet/minecraft/entity/ai/pathing/PathNode;penalty:F
      • type

        public PathNodeType type
        Mappings:
        Namespace Name Mixin selector
        official l Ldfy;l:Ldfw;
        intermediary field_41 Lnet/minecraft/class_9;field_41:Lnet/minecraft/class_7;
        named type Lnet/minecraft/entity/ai/pathing/PathNode;type:Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • 构造器详细资料

      • PathNode

        public PathNode​(int x,
                        int y,
                        int z)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldfy;<init>(III)V
        intermediary <init> Lnet/minecraft/class_9;<init>(III)V
        named <init> Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
    • 方法详细资料

      • copyWithNewPosition

        public PathNode copyWithNewPosition​(int x,
                                            int y,
                                            int z)
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a(III)Ldfy;
        intermediary method_26 Lnet/minecraft/class_9;method_26(III)Lnet/minecraft/class_9;
        named copyWithNewPosition Lnet/minecraft/entity/ai/pathing/PathNode;copyWithNewPosition(III)Lnet/minecraft/entity/ai/pathing/PathNode;
      • hash

        public static int hash​(int x,
                               int y,
                               int z)
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b(III)I
        intermediary method_30 Lnet/minecraft/class_9;method_30(III)I
        named hash Lnet/minecraft/entity/ai/pathing/PathNode;hash(III)I
      • getDistance

        public float getDistance​(PathNode node)
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a(Ldfy;)F
        intermediary method_31 Lnet/minecraft/class_9;method_31(Lnet/minecraft/class_9;)F
        named getDistance Lnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      • getDistance

        public float getDistance​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a(Lgb;)F
        intermediary method_35494 Lnet/minecraft/class_9;method_35494(Lnet/minecraft/class_2338;)F
        named getDistance Lnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/util/math/BlockPos;)F
      • getSquaredDistance

        public float getSquaredDistance​(PathNode node)
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b(Ldfy;)F
        intermediary method_32 Lnet/minecraft/class_9;method_32(Lnet/minecraft/class_9;)F
        named getSquaredDistance Lnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      • getSquaredDistance

        public float getSquaredDistance​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b(Lgb;)F
        intermediary method_35497 Lnet/minecraft/class_9;method_35497(Lnet/minecraft/class_2338;)F
        named getSquaredDistance Lnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/util/math/BlockPos;)F
      • getManhattanDistance

        public float getManhattanDistance​(PathNode node)
        Mappings:
        Namespace Name Mixin selector
        official c Ldfy;c(Ldfy;)F
        intermediary method_21653 Lnet/minecraft/class_9;method_21653(Lnet/minecraft/class_9;)F
        named getManhattanDistance Lnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      • getManhattanDistance

        public float getManhattanDistance​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official c Ldfy;c(Lgb;)F
        intermediary method_21654 Lnet/minecraft/class_9;method_21654(Lnet/minecraft/class_2338;)F
        named getManhattanDistance Lnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;)F
      • getPos

        public BlockPos getPos()
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a()Lgb;
        intermediary method_22879 Lnet/minecraft/class_9;method_22879()Lnet/minecraft/class_2338;
        named getPos Lnet/minecraft/entity/ai/pathing/PathNode;getPos()Lnet/minecraft/util/math/BlockPos;
      • getVec3d

        public Vec3d getVec3d()
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b()Ldma;
        intermediary method_35496 Lnet/minecraft/class_9;method_35496()Lnet/minecraft/class_243;
        named getVec3d Lnet/minecraft/entity/ai/pathing/PathNode;getVec3d()Lnet/minecraft/util/math/Vec3d;
      • equals

        public boolean equals​(Object o)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Ldfy;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_9;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/entity/ai/pathing/PathNode;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Ldfy;hashCode()I
        intermediary hashCode Lnet/minecraft/class_9;hashCode()I
        named hashCode Lnet/minecraft/entity/ai/pathing/PathNode;hashCode()I
      • isInHeap

        public boolean isInHeap()
        Mappings:
        Namespace Name Mixin selector
        official c Ldfy;c()Z
        intermediary method_27 Lnet/minecraft/class_9;method_27()Z
        named isInHeap Lnet/minecraft/entity/ai/pathing/PathNode;isInHeap()Z
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Ldfy;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_9;toString()Ljava/lang/String;
        named toString Lnet/minecraft/entity/ai/pathing/PathNode;toString()Ljava/lang/String;
      • writeBuf

        public void writeBuf​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official a Ldfy;a(Lob;)V
        intermediary method_35495 Lnet/minecraft/class_9;method_35495(Lnet/minecraft/class_2540;)V
        named writeBuf Lnet/minecraft/entity/ai/pathing/PathNode;writeBuf(Lnet/minecraft/network/PacketByteBuf;)V
      • readBuf

        public static PathNode readBuf​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official b Ldfy;b(Lob;)Ldfy;
        intermediary method_28 Lnet/minecraft/class_9;method_28(Lnet/minecraft/class_2540;)Lnet/minecraft/class_9;
        named readBuf Lnet/minecraft/entity/ai/pathing/PathNode;readBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/PathNode;