Package net.minecraft.entity.ai.pathing
Class PathMinHeap
java.lang.Object
net.minecraft.entity.ai.pathing.PathMinHeap
public class PathMinHeap extends Object
- Mappings:
Namespace Name official dftintermediary net/minecraft/class_5named net/minecraft/entity/ai/pathing/PathMinHeap
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PathMinHeap() -
Method Summary
Modifier and Type Method Description voidclear()booleanisEmpty()PathNodemethod_35490()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)
-
Field Details
-
pathNodes
- Mappings:
Namespace Name Mixin selector official aLdft;a:[Ldfw;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 bLdft;b:Iintermediary field_2Lnet/minecraft/class_5;field_2:Inamed countLnet/minecraft/entity/ai/pathing/PathMinHeap;count:I
-
-
Constructor Details
-
PathMinHeap
public PathMinHeap()
-
-
Method Details
-
push
- Mappings:
Namespace Name Mixin selector official aLdft;a(Ldfw;)Ldfw;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 aLdft;a()Vintermediary method_5Lnet/minecraft/class_5;method_5()Vnamed clearLnet/minecraft/entity/ai/pathing/PathMinHeap;clear()V
-
method_35490
- Mappings:
Namespace Name Mixin selector official bLdft;b()Ldfw;intermediary method_35490Lnet/minecraft/class_5;method_35490()Lnet/minecraft/class_9;named method_35490Lnet/minecraft/entity/ai/pathing/PathMinHeap;method_35490()Lnet/minecraft/entity/ai/pathing/PathNode;
-
pop
- Mappings:
Namespace Name Mixin selector official cLdft;c()Ldfw;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
- Mappings:
Namespace Name Mixin selector official bLdft;b(Ldfw;)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
- Mappings:
Namespace Name Mixin selector official aLdft;a(Ldfw;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 dLdft;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 aLdft;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 bLdft;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 eLdft;e()Zintermediary method_8Lnet/minecraft/class_5;method_8()Znamed isEmptyLnet/minecraft/entity/ai/pathing/PathMinHeap;isEmpty()Z
-
method_35493
- Mappings:
Namespace Name Mixin selector official fLdft;f()[Ldfw;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;
-