Package net.minecraft.advancement
Class AdvancementPositioner
java.lang.Object
net.minecraft.advancement.AdvancementPositioner
- Mappings:
Namespace Name official ar
intermediary net/minecraft/class_194
named net/minecraft/advancement/AdvancementPositioner
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement
private final List<AdvancementPositioner>
private final int
private int
private float
private float
private AdvancementPositioner
private final @Nullable AdvancementPositioner
private final @Nullable AdvancementPositioner
private float
private float
private @Nullable AdvancementPositioner
-
Constructor Summary
ConstructorDescriptionAdvancementPositioner
(Advancement advancement, @Nullable AdvancementPositioner parent, @Nullable AdvancementPositioner previousSibling, int childrenSize, int depth) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
apply()
static void
arrangeForTree
(Advancement root) private void
private @Nullable AdvancementPositioner
findChildrenRecursively
(Advancement advancement, @Nullable AdvancementPositioner lastChild) private float
findMinRowRecursively
(float deltaRow, int depth, float minRow) private @Nullable AdvancementPositioner
private AdvancementPositioner
getLast
(AdvancementPositioner advancementPositioner, AdvancementPositioner advancementPositioner2) private @Nullable AdvancementPositioner
private void
increaseRowRecursively
(float deltaRow) private AdvancementPositioner
private void
private void
pushDown
(AdvancementPositioner positioner, float extraRowDistance)
-
Field Details
-
advancement
- Mappings:
Namespace Name Mixin selector official a
Lar;a:Laf;
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
Lar;b:Lar;
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
Lar;c:Lar;
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
Lar;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
Lar;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
Lar;f:Lar;
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
Lar;g:Lar;
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
Lar;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
Lar;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
Lar;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
Lar;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
Lar;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 @Nullable AdvancementPositioner parent, @Nullable @Nullable AdvancementPositioner previousSibling, int childrenSize, int depth) - Mappings:
Namespace Name Mixin selector official <init>
Lar;<init>(Laf;Lar;Lar;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 @Nullable AdvancementPositioner findChildrenRecursively(Advancement advancement, @Nullable @Nullable AdvancementPositioner lastChild) - Mappings:
Namespace Name Mixin selector official a
Lar;a(Laf;Lar;)Lar;
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
Lar;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
Lar;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
Lar;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
Lar;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
Lar;c()Lar;
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
Lar;d()Lar;
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
Lar;a(Lar;)Lar;
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
Lar;a(Lar;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
Lar;a(Lar;Lar;)Lar;
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
Lar;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
Lar;a(Laf;)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
-