Package net.minecraft.advancements
Class TreeNodePosition
java.lang.Object
net.minecraft.advancements.TreeNodePosition
-
Field Summary
Modifier and TypeFieldDescriptionprivate Advancement
private TreeNodePosition
private float
private int
private List<TreeNodePosition>
private float
private TreeNodePosition
private TreeNodePosition
private float
private TreeNodePosition
private int
private float
-
Constructor Summary
ConstructorDescriptionTreeNodePosition(Advancement p_16567_, TreeNodePosition p_16568_, TreeNodePosition p_16569_, int p_16570_, int p_16571_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate TreeNodePosition
addChild(Advancement p_16590_, TreeNodePosition p_16591_)
private TreeNodePosition
apportion(TreeNodePosition p_16580_)
private void
private void
private void
private TreeNodePosition
getAncestor(TreeNodePosition p_16585_, TreeNodePosition p_16586_)
private void
moveSubtree(TreeNodePosition p_16582_, float p_16583_)
private TreeNodePosition
private TreeNodePosition
static void
run(Advancement p_16588_)
private float
secondWalk(float p_16576_, int p_16577_, float p_16578_)
private void
thirdWalk(float p_16574_)
-
Field Details
-
advancement
-
parent
-
previousSibling
-
childIndex
private final int childIndex -
children
-
ancestor
-
thread
-
x
private int x -
y
private float y -
mod
private float mod -
change
private float change -
shift
private float shift
-
-
Constructor Details
-
TreeNodePosition
public TreeNodePosition(Advancement p_16567_, @Nullable TreeNodePosition p_16568_, @Nullable TreeNodePosition p_16569_, int p_16570_, int p_16571_)
-
-
Method Details
-
addChild
@Nullable private TreeNodePosition addChild(Advancement p_16590_, @Nullable TreeNodePosition p_16591_) -
firstWalk
private void firstWalk() -
secondWalk
private float secondWalk(float p_16576_, int p_16577_, float p_16578_) -
thirdWalk
private void thirdWalk(float p_16574_) -
executeShifts
private void executeShifts() -
previousOrThread
-
nextOrThread
-
apportion
-
moveSubtree
-
getAncestor
-
finalizePosition
private void finalizePosition() -
run
-