Class AdvancementDisplays

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

public class AdvancementDisplays extends Object
Mappings:
Namespace Name
official afs
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 Lafs;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 Lafs;a(Lae;Z)Lafs$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 Lafs;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(PlacedAdvancement advancement, Stack<AdvancementDisplays.Status> statuses, Predicate<PlacedAdvancement> donePredicate, AdvancementDisplays.ResultConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Lag;Lit/unimi/dsi/fastutil/Stack;Ljava/util/function/Predicate;Lafs$a;)Z
      intermediary method_48030 Lnet/minecraft/class_8005;method_48030(Lnet/minecraft/class_8781;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/PlacedAdvancement;Lit/unimi/dsi/fastutil/Stack;Ljava/util/function/Predicate;Lnet/minecraft/advancement/AdvancementDisplays$ResultConsumer;)Z
    • calculateDisplay

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