net.minecraft.advancements

public class TreeNodePosition

ai
net.minecraft.advancements.TreeNodePosition
net.minecraft.class_194
net.minecraft.advancement.AdvancementPositioner
net.minecraft.advancements.AdvancementTreeNode
net.minecraft.server.v1_16_R1.AdvancementTree

Field summary

Modifier and TypeField
private final Advancement
a
advancement
field_1263
advancement
field_192328_a
private final TreeNodePosition
b
parent
field_1258
parent
field_192329_b
private final TreeNodePosition
c
previousSibling
field_1260
previousSibling
field_192330_c
private final int
d
childIndex
field_1261
childrenSize
field_192331_d
private final List<TreeNodePosition>
e
children
field_1267
children
field_192332_e
private TreeNodePosition
f
ancestor
field_1262
optionalLast
field_192333_f
private TreeNodePosition
g
thread
field_1264
substituteChild
field_192334_g
private int
h
x
field_1259
depth
field_192335_h
private float
i
y
field_1269
row
field_192336_i
private float
j
mod
field_1268
relativeRowInSiblings
field_192337_j
private float
k
change
field_1266
field_1266
field_192338_k
private float
l
shift
field_1265
field_1265
field_192339_l

Constructor summary

ModifierConstructor
public (Advancement advancement, TreeNodePosition parent, TreeNodePosition previousSibling, int childrenSize, int depth)

Method summary

Modifier and TypeMethod
private TreeNodePosition
a(w arg0, ai arg1)
addChild(Advancement arg0, TreeNodePosition arg1)
method_846(class_161 arg0, class_194 arg1)
findChildrenRecursively(Advancement arg0, AdvancementPositioner lastChild)
func_192322_a(Advancement arg0, AdvancementTreeNode arg1)
private void
a()
firstWalk()
method_847()
calculateRecursively()
func_192320_a()
private float
a(float arg0, int arg1, float arg2)
secondWalk(float arg0, int arg1, float arg2)
method_842(float arg0, int arg1, float arg2)
findMinRowRecursively(float deltaRow, int depth, float minRow)
func_192319_a(float arg0, int arg1, float arg2)
private void
a(float arg0)
thirdWalk(float arg0)
method_843(float arg0)
increaseRowRecursively(float deltaRow)
func_192318_a(float arg0)
private void
b()
executeShifts()
method_850()
onFinishChildrenCalculation()
func_192325_b()
private TreeNodePosition
c()
previousOrThread()
method_849()
getFirstChild()
func_192321_c()
private TreeNodePosition
d()
nextOrThread()
method_844()
getLastChild()
func_192317_d()
private TreeNodePosition
a(ai arg0)
apportion(TreeNodePosition arg0)
method_841(class_194 arg0)
onFinishCalculation(AdvancementPositioner last)
func_192324_a(AdvancementTreeNode arg0)
private void
a(ai arg0, float arg1)
moveSubtree(TreeNodePosition arg0, float arg1)
method_848(class_194 arg0, float arg1)
pushDown(AdvancementPositioner arg0, float extraRowDistance)
func_192316_a(AdvancementTreeNode arg0, float arg1)
private TreeNodePosition
a(ai arg0, ai arg1)
getAncestor(TreeNodePosition arg0, TreeNodePosition arg1)
method_845(class_194 arg0, class_194 arg1)
getLast(AdvancementPositioner arg0, AdvancementPositioner arg1)
func_192326_a(AdvancementTreeNode arg0, AdvancementTreeNode arg1)
private void
e()
finalizePosition()
method_851()
apply()
func_192327_e()
public static void
a(w arg0)
run(Advancement arg0)
method_852(class_161 arg0)
arrangeForTree(Advancement root)
func_192323_a(Advancement arg0)