Package net.minecraft.advancement
Class AdvancementManager
java.lang.Object
net.minecraft.advancement.AdvancementManager
public class AdvancementManager extends Object
-
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
-
advancements
-
roots
-
dependents
-
listener
-
-
Constructor Details
-
AdvancementManager
public AdvancementManager()
-
-
Method Details
-
remove
-
removeAll
-
load
-
clear
@Environment(CLIENT) public void clear() -
getRoots
-
getAdvancements
-
get
-
setListener
-