Package net.minecraft.advancements
Class AdvancementTreeNode
- java.lang.Object
-
- net.minecraft.advancements.AdvancementTreeNode
-
public class AdvancementTreeNode extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Advancement
advancement
private AdvancementTreeNode
ancestor
private float
change
private int
childIndex
private java.util.List<AdvancementTreeNode>
children
private float
mod
private AdvancementTreeNode
parent
private AdvancementTreeNode
previousSibling
private float
shift
private AdvancementTreeNode
thread
private int
x
private float
y
-
Constructor Summary
Constructors Constructor Description AdvancementTreeNode(Advancement p_i47466_1_, AdvancementTreeNode p_i47466_2_, AdvancementTreeNode p_i47466_3_, int p_i47466_4_, int p_i47466_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private AdvancementTreeNode
addChild(Advancement p_192322_1_, AdvancementTreeNode p_192322_2_)
private AdvancementTreeNode
apportion(AdvancementTreeNode p_192324_1_)
private void
executeShifts()
private void
finalizePosition()
private void
firstWalk()
private AdvancementTreeNode
getAncestor(AdvancementTreeNode p_192326_1_, AdvancementTreeNode p_192326_2_)
private void
moveSubtree(AdvancementTreeNode p_192316_1_, float p_192316_2_)
private AdvancementTreeNode
nextOrThread()
private AdvancementTreeNode
previousOrThread()
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 Detail
-
advancement
private final Advancement advancement
-
parent
private final AdvancementTreeNode parent
-
previousSibling
private final AdvancementTreeNode previousSibling
-
childIndex
private final int childIndex
-
children
private final java.util.List<AdvancementTreeNode> children
-
ancestor
private AdvancementTreeNode ancestor
-
thread
private AdvancementTreeNode thread
-
x
private int x
-
y
private float y
-
mod
private float mod
-
change
private float change
-
shift
private float shift
-
-
Constructor Detail
-
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 Detail
-
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
@Nullable private AdvancementTreeNode previousOrThread()
-
nextOrThread
@Nullable private AdvancementTreeNode nextOrThread()
-
apportion
private AdvancementTreeNode apportion(AdvancementTreeNode p_192324_1_)
-
moveSubtree
private void moveSubtree(AdvancementTreeNode p_192316_1_, float p_192316_2_)
-
getAncestor
private AdvancementTreeNode getAncestor(AdvancementTreeNode p_192326_1_, AdvancementTreeNode p_192326_2_)
-
finalizePosition
private void finalizePosition()
-
run
public static void run(Advancement p_192323_0_)
-
-