Class AdvancementPositioner

java.lang.Object
net.minecraft.advancement.AdvancementPositioner

public class AdvancementPositioner extends Object
Mappings:
Namespace Name
official as
intermediary net/minecraft/class_194
named net/minecraft/advancement/AdvancementPositioner
  • Field Details

    • advancement

      private final PlacedAdvancement advancement
      Mappings:
      Namespace Name Mixin selector
      official a Las;a:Lag;
      intermediary field_46086 Lnet/minecraft/class_194;field_46086:Lnet/minecraft/class_8781;
      named advancement Lnet/minecraft/advancement/AdvancementPositioner;advancement:Lnet/minecraft/advancement/PlacedAdvancement;
    • parent

      @Nullable private final @Nullable AdvancementPositioner parent
      Mappings:
      Namespace Name Mixin selector
      official b Las;b:Las;
      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

      @Nullable private final @Nullable AdvancementPositioner previousSibling
      Mappings:
      Namespace Name Mixin selector
      official c Las;c:Las;
      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 Las;d:I
      intermediary field_1261 Lnet/minecraft/class_194;field_1261:I
      named childrenSize Lnet/minecraft/advancement/AdvancementPositioner;childrenSize:I
    • children

      private final List<AdvancementPositioner> children
      Mappings:
      Namespace Name Mixin selector
      official e Las;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

      private AdvancementPositioner optionalLast
      Mappings:
      Namespace Name Mixin selector
      official f Las;f:Las;
      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

      @Nullable private @Nullable AdvancementPositioner substituteChild
      Mappings:
      Namespace Name Mixin selector
      official g Las;g:Las;
      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 Las;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 Las;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 Las;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 Las;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 Las;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(PlacedAdvancement advancement, @Nullable @Nullable AdvancementPositioner parent, @Nullable @Nullable AdvancementPositioner previousSibling, int childrenSize, int depth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Las;<init>(Lag;Las;Las;II)V
      intermediary <init> Lnet/minecraft/class_194;<init>(Lnet/minecraft/class_8781;Lnet/minecraft/class_194;Lnet/minecraft/class_194;II)V
      named <init> Lnet/minecraft/advancement/AdvancementPositioner;<init>(Lnet/minecraft/advancement/PlacedAdvancement;Lnet/minecraft/advancement/AdvancementPositioner;Lnet/minecraft/advancement/AdvancementPositioner;II)V
  • Method Details

    • findChildrenRecursively

      @Nullable private @Nullable AdvancementPositioner findChildrenRecursively(PlacedAdvancement advancement, @Nullable @Nullable AdvancementPositioner lastChild)
      Mappings:
      Namespace Name Mixin selector
      official a Las;a(Lag;Las;)Las;
      intermediary method_846 Lnet/minecraft/class_194;method_846(Lnet/minecraft/class_8781;Lnet/minecraft/class_194;)Lnet/minecraft/class_194;
      named findChildrenRecursively Lnet/minecraft/advancement/AdvancementPositioner;findChildrenRecursively(Lnet/minecraft/advancement/PlacedAdvancement;Lnet/minecraft/advancement/AdvancementPositioner;)Lnet/minecraft/advancement/AdvancementPositioner;
    • calculateRecursively

      private void calculateRecursively()
      Mappings:
      Namespace Name Mixin selector
      official a Las;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 Las;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 Las;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 Las;b()V
      intermediary method_850 Lnet/minecraft/class_194;method_850()V
      named onFinishChildrenCalculation Lnet/minecraft/advancement/AdvancementPositioner;onFinishChildrenCalculation()V
    • getFirstChild

      @Nullable private @Nullable AdvancementPositioner getFirstChild()
      Mappings:
      Namespace Name Mixin selector
      official c Las;c()Las;
      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

      @Nullable private @Nullable AdvancementPositioner getLastChild()
      Mappings:
      Namespace Name Mixin selector
      official d Las;d()Las;
      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

      private AdvancementPositioner onFinishCalculation(AdvancementPositioner last)
      Mappings:
      Namespace Name Mixin selector
      official a Las;a(Las;)Las;
      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

      private void pushDown(AdvancementPositioner positioner, float extraRowDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Las;a(Las;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 Las;a(Las;Las;)Las;
      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 Las;e()V
      intermediary method_851 Lnet/minecraft/class_194;method_851()V
      named apply Lnet/minecraft/advancement/AdvancementPositioner;apply()V
    • arrangeForTree

      public static void arrangeForTree(PlacedAdvancement root)
      Mappings:
      Namespace Name Mixin selector
      official a Las;a(Lag;)V
      intermediary method_852 Lnet/minecraft/class_194;method_852(Lnet/minecraft/class_8781;)V
      named arrangeForTree Lnet/minecraft/advancement/AdvancementPositioner;arrangeForTree(Lnet/minecraft/advancement/PlacedAdvancement;)V