Package net.minecraft.advancement
Class AdvancementPositioner
java.lang.Object
net.minecraft.advancement.AdvancementPositioner
public class AdvancementPositioner extends Object
- Mappings:
Namespace Name official ak
intermediary net/minecraft/class_194
named net/minecraft/advancement/AdvancementPositioner
-
Field Summary
Fields Modifier and Type Field Description private Advancement
advancement
private List<AdvancementPositioner>
children
private int
childrenSize
private int
depth
private float
field_1265
private float
field_1266
private AdvancementPositioner
optionalLast
private AdvancementPositioner
parent
private AdvancementPositioner
previousSibling
private float
relativeRowInSiblings
private float
row
private AdvancementPositioner
substituteChild
-
Constructor Summary
Constructors Constructor Description AdvancementPositioner(Advancement advancement, AdvancementPositioner parent, AdvancementPositioner previousSibling, int childrenSize, int depth)
-
Method Summary
Modifier and Type Method Description private void
apply()
static void
arrangeForTree(Advancement root)
private void
calculateRecursively()
private AdvancementPositioner
findChildrenRecursively(Advancement advancement, AdvancementPositioner lastChild)
private float
findMinRowRecursively(float deltaRow, int depth, float minRow)
private AdvancementPositioner
getFirstChild()
private AdvancementPositioner
getLast(AdvancementPositioner advancementPositioner, AdvancementPositioner advancementPositioner2)
private AdvancementPositioner
getLastChild()
private void
increaseRowRecursively(float deltaRow)
private AdvancementPositioner
onFinishCalculation(AdvancementPositioner last)
private void
onFinishChildrenCalculation()
private void
pushDown(AdvancementPositioner positioner, float extraRowDistance)
-
Field Details
-
advancement
- Mappings:
Namespace Name Mixin selector official a
Lak;a:Ly;
intermediary field_1263
Lnet/minecraft/class_194;field_1263:Lnet/minecraft/class_161;
named advancement
Lnet/minecraft/advancement/AdvancementPositioner;advancement:Lnet/minecraft/advancement/Advancement;
-
parent
- Mappings:
Namespace Name Mixin selector official b
Lak;b:Lak;
intermediary field_1258
Lnet/minecraft/class_194;field_1258:Lnet/minecraft/class_194;
named parent
Lnet/minecraft/advancement/AdvancementPositioner;parent:Lnet/minecraft/advancement/AdvancementPositioner;
-
previousSibling
- Mappings:
Namespace Name Mixin selector official c
Lak;c:Lak;
intermediary field_1260
Lnet/minecraft/class_194;field_1260:Lnet/minecraft/class_194;
named previousSibling
Lnet/minecraft/advancement/AdvancementPositioner;previousSibling:Lnet/minecraft/advancement/AdvancementPositioner;
-
childrenSize
private final int childrenSize- Mappings:
Namespace Name Mixin selector official d
Lak;d:I
intermediary field_1261
Lnet/minecraft/class_194;field_1261:I
named childrenSize
Lnet/minecraft/advancement/AdvancementPositioner;childrenSize:I
-
children
- Mappings:
Namespace Name Mixin selector official e
Lak;e:Ljava/util/List;
intermediary field_1267
Lnet/minecraft/class_194;field_1267:Ljava/util/List;
named children
Lnet/minecraft/advancement/AdvancementPositioner;children:Ljava/util/List;
-
optionalLast
- Mappings:
Namespace Name Mixin selector official f
Lak;f:Lak;
intermediary field_1262
Lnet/minecraft/class_194;field_1262:Lnet/minecraft/class_194;
named optionalLast
Lnet/minecraft/advancement/AdvancementPositioner;optionalLast:Lnet/minecraft/advancement/AdvancementPositioner;
-
substituteChild
- Mappings:
Namespace Name Mixin selector official g
Lak;g:Lak;
intermediary field_1264
Lnet/minecraft/class_194;field_1264:Lnet/minecraft/class_194;
named substituteChild
Lnet/minecraft/advancement/AdvancementPositioner;substituteChild:Lnet/minecraft/advancement/AdvancementPositioner;
-
depth
private int depth- Mappings:
Namespace Name Mixin selector official h
Lak;h:I
intermediary field_1259
Lnet/minecraft/class_194;field_1259:I
named depth
Lnet/minecraft/advancement/AdvancementPositioner;depth:I
-
row
private float row- Mappings:
Namespace Name Mixin selector official i
Lak;i:F
intermediary field_1269
Lnet/minecraft/class_194;field_1269:F
named row
Lnet/minecraft/advancement/AdvancementPositioner;row:F
-
relativeRowInSiblings
private float relativeRowInSiblings- Mappings:
Namespace Name Mixin selector official j
Lak;j:F
intermediary field_1268
Lnet/minecraft/class_194;field_1268:F
named relativeRowInSiblings
Lnet/minecraft/advancement/AdvancementPositioner;relativeRowInSiblings:F
-
field_1266
private float field_1266- Mappings:
Namespace Name Mixin selector official k
Lak;k:F
intermediary field_1266
Lnet/minecraft/class_194;field_1266:F
named field_1266
Lnet/minecraft/advancement/AdvancementPositioner;field_1266:F
-
field_1265
private float field_1265- Mappings:
Namespace Name Mixin selector official l
Lak;l:F
intermediary field_1265
Lnet/minecraft/class_194;field_1265:F
named field_1265
Lnet/minecraft/advancement/AdvancementPositioner;field_1265:F
-
-
Constructor Details
-
AdvancementPositioner
public AdvancementPositioner(Advancement advancement, @Nullable AdvancementPositioner parent, @Nullable AdvancementPositioner previousSibling, int childrenSize, int depth)- Mappings:
Namespace Name Mixin selector official <init>
Lak;<init>(Ly;Lak;Lak;II)V
intermediary <init>
Lnet/minecraft/class_194;<init>(Lnet/minecraft/class_161;Lnet/minecraft/class_194;Lnet/minecraft/class_194;II)V
named <init>
Lnet/minecraft/advancement/AdvancementPositioner;<init>(Lnet/minecraft/advancement/Advancement;Lnet/minecraft/advancement/AdvancementPositioner;Lnet/minecraft/advancement/AdvancementPositioner;II)V
-
-
Method Details
-
findChildrenRecursively
@Nullable private AdvancementPositioner findChildrenRecursively(Advancement advancement, @Nullable AdvancementPositioner lastChild)- Mappings:
Namespace Name Mixin selector official a
Lak;a(Ly;Lak;)Lak;
intermediary method_846
Lnet/minecraft/class_194;method_846(Lnet/minecraft/class_161;Lnet/minecraft/class_194;)Lnet/minecraft/class_194;
named findChildrenRecursively
Lnet/minecraft/advancement/AdvancementPositioner;findChildrenRecursively(Lnet/minecraft/advancement/Advancement;Lnet/minecraft/advancement/AdvancementPositioner;)Lnet/minecraft/advancement/AdvancementPositioner;
-
calculateRecursively
private void calculateRecursively()- Mappings:
Namespace Name Mixin selector official a
Lak;a()V
intermediary method_847
Lnet/minecraft/class_194;method_847()V
named calculateRecursively
Lnet/minecraft/advancement/AdvancementPositioner;calculateRecursively()V
-
findMinRowRecursively
private float findMinRowRecursively(float deltaRow, int depth, float minRow)- Mappings:
Namespace Name Mixin selector official a
Lak;a(FIF)F
intermediary method_842
Lnet/minecraft/class_194;method_842(FIF)F
named findMinRowRecursively
Lnet/minecraft/advancement/AdvancementPositioner;findMinRowRecursively(FIF)F
-
increaseRowRecursively
private void increaseRowRecursively(float deltaRow)- Mappings:
Namespace Name Mixin selector official a
Lak;a(F)V
intermediary method_843
Lnet/minecraft/class_194;method_843(F)V
named increaseRowRecursively
Lnet/minecraft/advancement/AdvancementPositioner;increaseRowRecursively(F)V
-
onFinishChildrenCalculation
private void onFinishChildrenCalculation()- Mappings:
Namespace Name Mixin selector official b
Lak;b()V
intermediary method_850
Lnet/minecraft/class_194;method_850()V
named onFinishChildrenCalculation
Lnet/minecraft/advancement/AdvancementPositioner;onFinishChildrenCalculation()V
-
getFirstChild
- Mappings:
Namespace Name Mixin selector official c
Lak;c()Lak;
intermediary method_849
Lnet/minecraft/class_194;method_849()Lnet/minecraft/class_194;
named getFirstChild
Lnet/minecraft/advancement/AdvancementPositioner;getFirstChild()Lnet/minecraft/advancement/AdvancementPositioner;
-
getLastChild
- Mappings:
Namespace Name Mixin selector official d
Lak;d()Lak;
intermediary method_844
Lnet/minecraft/class_194;method_844()Lnet/minecraft/class_194;
named getLastChild
Lnet/minecraft/advancement/AdvancementPositioner;getLastChild()Lnet/minecraft/advancement/AdvancementPositioner;
-
onFinishCalculation
- Mappings:
Namespace Name Mixin selector official a
Lak;a(Lak;)Lak;
intermediary method_841
Lnet/minecraft/class_194;method_841(Lnet/minecraft/class_194;)Lnet/minecraft/class_194;
named onFinishCalculation
Lnet/minecraft/advancement/AdvancementPositioner;onFinishCalculation(Lnet/minecraft/advancement/AdvancementPositioner;)Lnet/minecraft/advancement/AdvancementPositioner;
-
pushDown
- Mappings:
Namespace Name Mixin selector official a
Lak;a(Lak;F)V
intermediary method_848
Lnet/minecraft/class_194;method_848(Lnet/minecraft/class_194;F)V
named pushDown
Lnet/minecraft/advancement/AdvancementPositioner;pushDown(Lnet/minecraft/advancement/AdvancementPositioner;F)V
-
getLast
private AdvancementPositioner getLast(AdvancementPositioner advancementPositioner, AdvancementPositioner advancementPositioner2)- Mappings:
Namespace Name Mixin selector official a
Lak;a(Lak;Lak;)Lak;
intermediary method_845
Lnet/minecraft/class_194;method_845(Lnet/minecraft/class_194;Lnet/minecraft/class_194;)Lnet/minecraft/class_194;
named getLast
Lnet/minecraft/advancement/AdvancementPositioner;getLast(Lnet/minecraft/advancement/AdvancementPositioner;Lnet/minecraft/advancement/AdvancementPositioner;)Lnet/minecraft/advancement/AdvancementPositioner;
-
apply
private void apply()- Mappings:
Namespace Name Mixin selector official e
Lak;e()V
intermediary method_851
Lnet/minecraft/class_194;method_851()V
named apply
Lnet/minecraft/advancement/AdvancementPositioner;apply()V
-
arrangeForTree
- Mappings:
Namespace Name Mixin selector official a
Lak;a(Ly;)V
intermediary method_852
Lnet/minecraft/class_194;method_852(Lnet/minecraft/class_161;)V
named arrangeForTree
Lnet/minecraft/advancement/AdvancementPositioner;arrangeForTree(Lnet/minecraft/advancement/Advancement;)V
-