Package net.minecraft.advancement
Class AdvancementManager
java.lang.Object
net.minecraft.advancement.AdvancementManager
- Mappings:
Namespace Name official af
intermediary net/minecraft/class_163
named net/minecraft/advancement/AdvancementManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
Advancement> private final Set<Advancement>
private @Nullable AdvancementManager.Listener
private static final Logger
private final Set<Advancement>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
get
(Identifier id) getRoots()
void
load
(Map<Identifier, Advancement.Builder> advancements) private void
remove
(Advancement advancement) void
removeAll
(Set<Identifier> advancements) void
setListener
(@Nullable AdvancementManager.Listener listener)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Laf;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
- Mappings:
Namespace Name Mixin selector official b
Laf;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
Laf;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
Laf;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
Laf;e:Laf$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
Laf;a(Lae;)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
Laf;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
Laf;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
public void clear()- Mappings:
Namespace Name Mixin selector official a
Laf;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
Laf;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
Laf;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
Laf;a(Ladd;)Lae;
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
Laf;a(Laf$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
-