Package net.minecraft.advancement
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AdvancementManager.Listener
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,Advancement>
advancements
private Set<Advancement>
dependents
private AdvancementManager.Listener
listener
private static Logger
LOGGER
private Set<Advancement>
roots
-
Constructor Summary
Constructors Constructor Description AdvancementManager()
-
Method Summary
Modifier and Type Method Description void
clear()
Advancement
get(Identifier id)
Collection<Advancement>
getAdvancements()
Iterable<Advancement>
getRoots()
void
load(Map<Identifier,Advancement.Task> map)
private void
remove(Advancement advancement)
void
removeAll(Set<Identifier> advancements)
void
setListener(AdvancementManager.Listener listener)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-