Class AdvancementManager

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

public class AdvancementManager
extends Object
Mappings:
Namespace Name
official z
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 Lz;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_1158 Lnet/minecraft/class_163;field_1158:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/advancement/AdvancementManager;LOGGER:Lorg/apache/logging/log4j/Logger;
    • advancements

      private final Map<Identifier,​Advancement> advancements
      Mappings:
      Namespace Name Mixin selector
      official b Lz;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<Advancement> roots
      Mappings:
      Namespace Name Mixin selector
      official c Lz;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<Advancement> dependents
      Mappings:
      Namespace Name Mixin selector
      official d Lz;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

      private AdvancementManager.Listener listener
      Mappings:
      Namespace Name Mixin selector
      official e Lz;e:Lz$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

      @Environment(CLIENT) private void remove​(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;a(Ly;)V
      intermediary method_718 Lnet/minecraft/class_163;method_718(Lnet/minecraft/class_161;)V
      named remove Lnet/minecraft/advancement/AdvancementManager;remove(Lnet/minecraft/advancement/Advancement;)V
    • removeAll

      @Environment(CLIENT) public void removeAll​(Set<Identifier> advancements)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;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
    • load

      public void load​(Map<Identifier,​Advancement.Task> map)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;a(Ljava/util/Map;)V
      intermediary method_711 Lnet/minecraft/class_163;method_711(Ljava/util/Map;)V
      named load Lnet/minecraft/advancement/AdvancementManager;load(Ljava/util/Map;)V
    • clear

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

      public Iterable<Advancement> getRoots()
      Mappings:
      Namespace Name Mixin selector
      official b Lz;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<Advancement> getAdvancements()
      Mappings:
      Namespace Name Mixin selector
      official c Lz;c()Ljava/util/Collection;
      intermediary method_712 Lnet/minecraft/class_163;method_712()Ljava/util/Collection;
      named getAdvancements Lnet/minecraft/advancement/AdvancementManager;getAdvancements()Ljava/util/Collection;
    • get

      @Nullable public Advancement get​(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;a(Lwb;)Ly;
      intermediary method_716 Lnet/minecraft/class_163;method_716(Lnet/minecraft/class_2960;)Lnet/minecraft/class_161;
      named get Lnet/minecraft/advancement/AdvancementManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/Advancement;
    • setListener

      @Environment(CLIENT) public void setListener​(@Nullable AdvancementManager.Listener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;a(Lz$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