Package net.minecraft.advancements
Class AdvancementTreeNode
java.lang.Object
net.minecraft.advancements.AdvancementTreeNode
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement
private AdvancementTreeNode
private float
private final int
private final List<AdvancementTreeNode>
private float
private final AdvancementTreeNode
private final AdvancementTreeNode
private float
private AdvancementTreeNode
private int
private float
-
Constructor Summary
ConstructorDescriptionAdvancementTreeNode
(Advancement p_i47466_1_, AdvancementTreeNode p_i47466_2_, AdvancementTreeNode p_i47466_3_, int p_i47466_4_, int p_i47466_5_) -
Method Summary
Modifier and TypeMethodDescriptionprivate AdvancementTreeNode
addChild
(Advancement p_192322_1_, AdvancementTreeNode p_192322_2_) private AdvancementTreeNode
apportion
(AdvancementTreeNode p_192324_1_) private void
private void
private void
private AdvancementTreeNode
getAncestor
(AdvancementTreeNode p_192326_1_, AdvancementTreeNode p_192326_2_) private void
moveSubtree
(AdvancementTreeNode p_192316_1_, float p_192316_2_) private AdvancementTreeNode
private AdvancementTreeNode
static void
run
(Advancement p_192323_0_) private float
secondWalk
(float p_192319_1_, int p_192319_2_, float p_192319_3_) private void
thirdWalk
(float p_192318_1_)
-
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
-
AdvancementTreeNode
public AdvancementTreeNode(Advancement p_i47466_1_, @Nullable AdvancementTreeNode p_i47466_2_, @Nullable AdvancementTreeNode p_i47466_3_, int p_i47466_4_, int p_i47466_5_)
-
-
Method Details
-
addChild
@Nullable private AdvancementTreeNode addChild(Advancement p_192322_1_, @Nullable AdvancementTreeNode p_192322_2_) -
firstWalk
private void firstWalk() -
secondWalk
private float secondWalk(float p_192319_1_, int p_192319_2_, float p_192319_3_) -
thirdWalk
private void thirdWalk(float p_192318_1_) -
executeShifts
private void executeShifts() -
previousOrThread
-
nextOrThread
-
apportion
-
moveSubtree
-
getAncestor
private AdvancementTreeNode getAncestor(AdvancementTreeNode p_192326_1_, AdvancementTreeNode p_192326_2_) -
finalizePosition
private void finalizePosition() -
run
-