Class AdvancementDisplays

java.lang.Object
net.minecraft.advancement.AdvancementDisplays

public class AdvancementDisplays extends Object
Mappings:
Namespace Name
official ady
intermediary net/minecraft/class_8005
named net/minecraft/advancement/AdvancementDisplays
  • Field Details

    • DISPLAY_DEPTH

      private static final int DISPLAY_DEPTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lady;a:I
      intermediary field_41737 Lnet/minecraft/class_8005;field_41737:I
      named DISPLAY_DEPTH Lnet/minecraft/advancement/AdvancementDisplays;DISPLAY_DEPTH:I
  • Constructor Details

    • AdvancementDisplays

      public AdvancementDisplays()
  • Method Details

    • getStatus

      private static AdvancementDisplays.Status getStatus(Advancement advancement, boolean force)
      Mappings:
      Namespace Name Mixin selector
      official a Lady;a(Lae;Z)Lady$b;
      intermediary method_48032 Lnet/minecraft/class_8005;method_48032(Lnet/minecraft/class_161;Z)Lnet/minecraft/class_8005$class_8007;
      named getStatus Lnet/minecraft/advancement/AdvancementDisplays;getStatus(Lnet/minecraft/advancement/Advancement;Z)Lnet/minecraft/advancement/AdvancementDisplays$Status;
    • shouldDisplay

      private static boolean shouldDisplay(Stack<AdvancementDisplays.Status> statuses)
      Mappings:
      Namespace Name Mixin selector
      official a Lady;a(Lit/unimi/dsi/fastutil/Stack;)Z
      intermediary method_48033 Lnet/minecraft/class_8005;method_48033(Lit/unimi/dsi/fastutil/Stack;)Z
      named shouldDisplay Lnet/minecraft/advancement/AdvancementDisplays;shouldDisplay(Lit/unimi/dsi/fastutil/Stack;)Z
    • shouldDisplay

      private static boolean shouldDisplay(Advancement advancement, Stack<AdvancementDisplays.Status> statuses, Predicate<Advancement> donePredicate, AdvancementDisplays.ResultConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lady;a(Lae;Lit/unimi/dsi/fastutil/Stack;Ljava/util/function/Predicate;Lady$a;)Z
      intermediary method_48030 Lnet/minecraft/class_8005;method_48030(Lnet/minecraft/class_161;Lit/unimi/dsi/fastutil/Stack;Ljava/util/function/Predicate;Lnet/minecraft/class_8005$class_8006;)Z
      named shouldDisplay Lnet/minecraft/advancement/AdvancementDisplays;shouldDisplay(Lnet/minecraft/advancement/Advancement;Lit/unimi/dsi/fastutil/Stack;Ljava/util/function/Predicate;Lnet/minecraft/advancement/AdvancementDisplays$ResultConsumer;)Z
    • calculateDisplay

      public static void calculateDisplay(Advancement advancement, Predicate<Advancement> donePredicate, AdvancementDisplays.ResultConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lady;a(Lae;Ljava/util/function/Predicate;Lady$a;)V
      intermediary method_48031 Lnet/minecraft/class_8005;method_48031(Lnet/minecraft/class_161;Ljava/util/function/Predicate;Lnet/minecraft/class_8005$class_8006;)V
      named calculateDisplay Lnet/minecraft/advancement/AdvancementDisplays;calculateDisplay(Lnet/minecraft/advancement/Advancement;Ljava/util/function/Predicate;Lnet/minecraft/advancement/AdvancementDisplays$ResultConsumer;)V