类 PathMinHeap
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathMinHeap
-
public class PathMinHeap extends Object
- Mappings:
Namespace Name official dfvintermediary net/minecraft/class_5named net/minecraft/entity/ai/pathing/PathMinHeap
-
-
构造器概要
构造器 构造器 说明 PathMinHeap()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclear()PathNodegetFirstNode()booleanisEmpty()voidmethod_35491(PathNode pathNode)intmethod_35492()PathNode[]method_35493()PathNodepop()PathNodepush(PathNode node)voidsetNodeWeight(PathNode node, float weight)private voidshiftDown(int index)private voidshiftUp(int index)
-
-
-
字段详细资料
-
pathNodes
private PathNode[] pathNodes
- Mappings:
Namespace Name Mixin selector official aLdfv;a:[Ldfy;intermediary field_1Lnet/minecraft/class_5;field_1:[Lnet/minecraft/class_9;named pathNodesLnet/minecraft/entity/ai/pathing/PathMinHeap;pathNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
count
private int count
- Mappings:
Namespace Name Mixin selector official bLdfv;b:Iintermediary field_2Lnet/minecraft/class_5;field_2:Inamed countLnet/minecraft/entity/ai/pathing/PathMinHeap;count:I
-
-
方法详细资料
-
push
public PathNode push(PathNode node)
- Mappings:
Namespace Name Mixin selector official aLdfv;a(Ldfy;)Ldfy;intermediary method_2Lnet/minecraft/class_5;method_2(Lnet/minecraft/class_9;)Lnet/minecraft/class_9;named pushLnet/minecraft/entity/ai/pathing/PathMinHeap;push(Lnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/PathNode;
-
clear
public void clear()
- Mappings:
Namespace Name Mixin selector official aLdfv;a()Vintermediary method_5Lnet/minecraft/class_5;method_5()Vnamed clearLnet/minecraft/entity/ai/pathing/PathMinHeap;clear()V
-
getFirstNode
public PathNode getFirstNode()
- Mappings:
Namespace Name Mixin selector official bLdfv;b()Ldfy;intermediary method_35490Lnet/minecraft/class_5;method_35490()Lnet/minecraft/class_9;named getFirstNodeLnet/minecraft/entity/ai/pathing/PathMinHeap;getFirstNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
pop
public PathNode pop()
- Mappings:
Namespace Name Mixin selector official cLdfv;c()Ldfy;intermediary method_6Lnet/minecraft/class_5;method_6()Lnet/minecraft/class_9;named popLnet/minecraft/entity/ai/pathing/PathMinHeap;pop()Lnet/minecraft/entity/ai/pathing/PathNode;
-
method_35491
public void method_35491(PathNode pathNode)
- Mappings:
Namespace Name Mixin selector official bLdfv;b(Ldfy;)Vintermediary method_35491Lnet/minecraft/class_5;method_35491(Lnet/minecraft/class_9;)Vnamed method_35491Lnet/minecraft/entity/ai/pathing/PathMinHeap;method_35491(Lnet/minecraft/entity/ai/pathing/PathNode;)V
-
setNodeWeight
public void setNodeWeight(PathNode node, float weight)
- Mappings:
Namespace Name Mixin selector official aLdfv;a(Ldfy;F)Vintermediary method_3Lnet/minecraft/class_5;method_3(Lnet/minecraft/class_9;F)Vnamed setNodeWeightLnet/minecraft/entity/ai/pathing/PathMinHeap;setNodeWeight(Lnet/minecraft/entity/ai/pathing/PathNode;F)V
-
method_35492
public int method_35492()
- Mappings:
Namespace Name Mixin selector official dLdfv;d()Iintermediary method_35492Lnet/minecraft/class_5;method_35492()Inamed method_35492Lnet/minecraft/entity/ai/pathing/PathMinHeap;method_35492()I
-
shiftUp
private void shiftUp(int index)
- Mappings:
Namespace Name Mixin selector official aLdfv;a(I)Vintermediary method_4Lnet/minecraft/class_5;method_4(I)Vnamed shiftUpLnet/minecraft/entity/ai/pathing/PathMinHeap;shiftUp(I)V
-
shiftDown
private void shiftDown(int index)
- Mappings:
Namespace Name Mixin selector official bLdfv;b(I)Vintermediary method_7Lnet/minecraft/class_5;method_7(I)Vnamed shiftDownLnet/minecraft/entity/ai/pathing/PathMinHeap;shiftDown(I)V
-
isEmpty
public boolean isEmpty()
- Mappings:
Namespace Name Mixin selector official eLdfv;e()Zintermediary method_8Lnet/minecraft/class_5;method_8()Znamed isEmptyLnet/minecraft/entity/ai/pathing/PathMinHeap;isEmpty()Z
-
method_35493
public PathNode[] method_35493()
- Mappings:
Namespace Name Mixin selector official fLdfv;f()[Ldfy;intermediary method_35493Lnet/minecraft/class_5;method_35493()[Lnet/minecraft/class_9;named method_35493Lnet/minecraft/entity/ai/pathing/PathMinHeap;method_35493()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
-