类 TargetPathNode
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathNode
-
- net.minecraft.entity.ai.pathing.TargetPathNode
-
public class TargetPathNode extends PathNode
- Mappings:
Namespace Name official dgeintermediary net/minecraft/class_4459named net/minecraft/entity/ai/pathing/TargetPathNode
-
-
字段概要
字段 修饰符和类型 字段 说明 private PathNodenearestNodeprivate floatnearestNodeDistanceprivate booleanreached-
从类继承的字段 net.minecraft.entity.ai.pathing.PathNode
distanceToNearestTarget, heapIndex, heapWeight, pathLength, penalizedPathLength, penalty, previous, type, visited, x, y, z
-
-
构造器概要
构造器 构造器 说明 TargetPathNode(int x, int y, int z)TargetPathNode(PathNode node)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static TargetPathNodefromBuffer(PacketByteBuf buffer)PathNodegetNearestNode()booleanhasReached()voidmarkReached()voidupdateNearestNode(float distance, PathNode node)-
从类继承的方法 net.minecraft.entity.ai.pathing.PathNode
copyWithNewPosition, equals, getDistance, getDistance, getManhattanDistance, getManhattanDistance, getPos, getSquaredDistance, getSquaredDistance, getVec3d, hash, hashCode, isInHeap, readBuf, toString, writeBuf
-
-
-
-
字段详细资料
-
nearestNodeDistance
private float nearestNodeDistance
- Mappings:
Namespace Name Mixin selector official mLdge;m:Fintermediary field_20304Lnet/minecraft/class_4459;field_20304:Fnamed nearestNodeDistanceLnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNodeDistance:F
-
nearestNode
private PathNode nearestNode
- Mappings:
Namespace Name Mixin selector official nLdge;n:Ldfy;intermediary field_20305Lnet/minecraft/class_4459;field_20305:Lnet/minecraft/class_9;named nearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNode:Lnet/minecraft/entity/ai/pathing/PathNode;
-
reached
private boolean reached
- Mappings:
Namespace Name Mixin selector official oLdge;o:Zintermediary field_20306Lnet/minecraft/class_4459;field_20306:Znamed reachedLnet/minecraft/entity/ai/pathing/TargetPathNode;reached:Z
-
-
构造器详细资料
-
TargetPathNode
public TargetPathNode(PathNode node)
- Mappings:
Namespace Name Mixin selector official <init>Ldge;<init>(Ldfy;)Vintermediary <init>Lnet/minecraft/class_4459;<init>(Lnet/minecraft/class_9;)Vnamed <init>Lnet/minecraft/entity/ai/pathing/TargetPathNode;<init>(Lnet/minecraft/entity/ai/pathing/PathNode;)V
-
TargetPathNode
public TargetPathNode(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official <init>Ldfy;<init>(III)Vintermediary <init>Lnet/minecraft/class_9;<init>(III)Vnamed <init>Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
-
-
方法详细资料
-
updateNearestNode
public void updateNearestNode(float distance, PathNode node)- Mappings:
Namespace Name Mixin selector official aLdge;a(FLdfy;)Vintermediary method_21662Lnet/minecraft/class_4459;method_21662(FLnet/minecraft/class_9;)Vnamed updateNearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;updateNearestNode(FLnet/minecraft/entity/ai/pathing/PathNode;)V
-
getNearestNode
public PathNode getNearestNode()
- Mappings:
Namespace Name Mixin selector official dLdge;d()Ldfy;intermediary method_21664Lnet/minecraft/class_4459;method_21664()Lnet/minecraft/class_9;named getNearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;getNearestNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
markReached
public void markReached()
- Mappings:
Namespace Name Mixin selector official eLdge;e()Vintermediary method_21665Lnet/minecraft/class_4459;method_21665()Vnamed markReachedLnet/minecraft/entity/ai/pathing/TargetPathNode;markReached()V
-
hasReached
public boolean hasReached()
- Mappings:
Namespace Name Mixin selector official fLdge;f()Zintermediary method_35501Lnet/minecraft/class_4459;method_35501()Znamed hasReachedLnet/minecraft/entity/ai/pathing/TargetPathNode;hasReached()Z
-
fromBuffer
public static TargetPathNode fromBuffer(PacketByteBuf buffer)
- Mappings:
Namespace Name Mixin selector official cLdge;c(Lob;)Ldge;intermediary method_21663Lnet/minecraft/class_4459;method_21663(Lnet/minecraft/class_2540;)Lnet/minecraft/class_4459;named fromBufferLnet/minecraft/entity/ai/pathing/TargetPathNode;fromBuffer(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
-