Package net.minecraft.advancement
Class AdvancementManager
java.lang.Object
net.minecraft.advancement.AdvancementManager
- Mappings:
Namespace Name official ak
intermediary net/minecraft/class_163
named net/minecraft/advancement/AdvancementManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
PlacedAdvancement> private final Set<PlacedAdvancement>
private @Nullable AdvancementManager.Listener
private static final Logger
private final Set<PlacedAdvancement>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Collection<AdvancementEntry> advancements) void
clear()
@Nullable PlacedAdvancement
get
(AdvancementEntry advancement) @Nullable PlacedAdvancement
get
(Identifier id) getRoots()
private void
remove
(PlacedAdvancement advancement) void
removeAll
(Set<Identifier> advancements) void
setListener
(@Nullable AdvancementManager.Listener listener) private boolean
tryAdd
(AdvancementEntry advancement)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-