Class AdvancementManager

java.lang.Object
net.minecraft.advancement.AdvancementManager

public class AdvancementManager extends Object
Mappings:
Namespace Name
official ak
intermediary net/minecraft/class_163
named net/minecraft/advancement/AdvancementManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a:Lorg/slf4j/Logger;
      intermediary field_1158 Lnet/minecraft/class_163;field_1158:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/advancement/AdvancementManager;LOGGER:Lorg/slf4j/Logger;
    • advancements

      private final Map<Identifier,PlacedAdvancement> advancements
      Mappings:
      Namespace Name Mixin selector
      official b Lak;b:Ljava/util/Map;
      intermediary field_1157 Lnet/minecraft/class_163;field_1157:Ljava/util/Map;
      named advancements Lnet/minecraft/advancement/AdvancementManager;advancements:Ljava/util/Map;
    • roots

      private final Set<PlacedAdvancement> roots
      Mappings:
      Namespace Name Mixin selector
      official c Lak;c:Ljava/util/Set;
      intermediary field_1154 Lnet/minecraft/class_163;field_1154:Ljava/util/Set;
      named roots Lnet/minecraft/advancement/AdvancementManager;roots:Ljava/util/Set;
    • dependents

      private final Set<PlacedAdvancement> dependents
      Mappings:
      Namespace Name Mixin selector
      official d Lak;d:Ljava/util/Set;
      intermediary field_1156 Lnet/minecraft/class_163;field_1156:Ljava/util/Set;
      named dependents Lnet/minecraft/advancement/AdvancementManager;dependents:Ljava/util/Set;
    • listener

      @Nullable private @Nullable AdvancementManager.Listener listener
      Mappings:
      Namespace Name Mixin selector
      official e Lak;e:Lak$a;
      intermediary field_1155 Lnet/minecraft/class_163;field_1155:Lnet/minecraft/class_163$class_164;
      named listener Lnet/minecraft/advancement/AdvancementManager;listener:Lnet/minecraft/advancement/AdvancementManager$Listener;
  • Constructor Details

    • AdvancementManager

      public AdvancementManager()
  • Method Details

    • remove

      private void remove(PlacedAdvancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Lag;)V
      intermediary method_718 Lnet/minecraft/class_163;method_718(Lnet/minecraft/class_8781;)V
      named remove Lnet/minecraft/advancement/AdvancementManager;remove(Lnet/minecraft/advancement/PlacedAdvancement;)V
    • removeAll

      public void removeAll(Set<Identifier> advancements)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Ljava/util/Set;)V
      intermediary method_713 Lnet/minecraft/class_163;method_713(Ljava/util/Set;)V
      named removeAll Lnet/minecraft/advancement/AdvancementManager;removeAll(Ljava/util/Set;)V
    • addAll

      public void addAll(Collection<AdvancementEntry> advancements)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Ljava/util/Collection;)V
      intermediary method_53691 Lnet/minecraft/class_163;method_53691(Ljava/util/Collection;)V
      named addAll Lnet/minecraft/advancement/AdvancementManager;addAll(Ljava/util/Collection;)V
    • tryAdd

      private boolean tryAdd(AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official b Lak;b(Laf;)Z
      intermediary method_53692 Lnet/minecraft/class_163;method_53692(Lnet/minecraft/class_8779;)Z
      named tryAdd Lnet/minecraft/advancement/AdvancementManager;tryAdd(Lnet/minecraft/advancement/AdvancementEntry;)Z
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a()V
      intermediary method_714 Lnet/minecraft/class_163;method_714()V
      named clear Lnet/minecraft/advancement/AdvancementManager;clear()V
    • getRoots

      public Iterable<PlacedAdvancement> getRoots()
      Mappings:
      Namespace Name Mixin selector
      official b Lak;b()Ljava/lang/Iterable;
      intermediary method_715 Lnet/minecraft/class_163;method_715()Ljava/lang/Iterable;
      named getRoots Lnet/minecraft/advancement/AdvancementManager;getRoots()Ljava/lang/Iterable;
    • getAdvancements

      public Collection<PlacedAdvancement> getAdvancements()
      Mappings:
      Namespace Name Mixin selector
      official c Lak;c()Ljava/util/Collection;
      intermediary method_53693 Lnet/minecraft/class_163;method_53693()Ljava/util/Collection;
      named getAdvancements Lnet/minecraft/advancement/AdvancementManager;getAdvancements()Ljava/util/Collection;
    • get

      @Nullable public @Nullable PlacedAdvancement get(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Laew;)Lag;
      intermediary method_716 Lnet/minecraft/class_163;method_716(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8781;
      named get Lnet/minecraft/advancement/AdvancementManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/PlacedAdvancement;
    • get

      @Nullable public @Nullable PlacedAdvancement get(AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Laf;)Lag;
      intermediary method_53690 Lnet/minecraft/class_163;method_53690(Lnet/minecraft/class_8779;)Lnet/minecraft/class_8781;
      named get Lnet/minecraft/advancement/AdvancementManager;get(Lnet/minecraft/advancement/AdvancementEntry;)Lnet/minecraft/advancement/PlacedAdvancement;
    • setListener

      public void setListener(@Nullable @Nullable AdvancementManager.Listener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Lak$a;)V
      intermediary method_717 Lnet/minecraft/class_163;method_717(Lnet/minecraft/class_163$class_164;)V
      named setListener Lnet/minecraft/advancement/AdvancementManager;setListener(Lnet/minecraft/advancement/AdvancementManager$Listener;)V