类 TreeNodePosition
java.lang.Object
net.minecraft.advancements.TreeNodePosition
-
字段概要
字段修饰符和类型字段说明private final Advancement
private TreeNodePosition
private float
private final int
private final List<TreeNodePosition>
private float
private final TreeNodePosition
private final TreeNodePosition
private float
private TreeNodePosition
private int
private float
-
构造器概要
构造器构造器说明TreeNodePosition
(Advancement pAdvancement, TreeNodePosition pParent, TreeNodePosition pPreviousSibling, int pChildIndex, int pX) -
方法概要
修饰符和类型方法说明private TreeNodePosition
addChild
(Advancement pAdvancement, TreeNodePosition pPrevious) private TreeNodePosition
apportion
(TreeNodePosition pNode) private void
private void
private void
private TreeNodePosition
getAncestor
(TreeNodePosition pSelf, TreeNodePosition pOther) private void
moveSubtree
(TreeNodePosition pNode, float pShift) private TreeNodePosition
private TreeNodePosition
static void
run
(Advancement pRoot) private float
secondWalk
(float pOffsetY, int pColumnX, float pSubtreeTopY) private void
thirdWalk
(float pY)
-
字段详细资料
-
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
-
-
构造器详细资料
-
TreeNodePosition
public TreeNodePosition(Advancement pAdvancement, @Nullable TreeNodePosition pParent, @Nullable TreeNodePosition pPreviousSibling, int pChildIndex, int pX)
-
-
方法详细资料
-
addChild
@Nullable private TreeNodePosition addChild(Advancement pAdvancement, @Nullable TreeNodePosition pPrevious) -
firstWalk
private void firstWalk() -
secondWalk
private float secondWalk(float pOffsetY, int pColumnX, float pSubtreeTopY) -
thirdWalk
private void thirdWalk(float pY) -
executeShifts
private void executeShifts() -
previousOrThread
-
nextOrThread
-
apportion
-
moveSubtree
-
getAncestor
-
finalizePosition
private void finalizePosition() -
run
-