public class AdvancementList
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AdvancementList.Listener |
Constructor and Description |
---|
AdvancementList() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Advancement |
getAdvancement(ResourceLocation id) |
java.lang.Iterable<Advancement> |
getAdvancements() |
java.lang.Iterable<Advancement> |
getRoots() |
void |
loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> advancementsIn) |
void |
removeAll(java.util.Set<ResourceLocation> ids) |
void |
setListener(AdvancementList.Listener listenerIn) |
public void removeAll(java.util.Set<ResourceLocation> ids)
public void loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> advancementsIn)
public void clear()
public java.lang.Iterable<Advancement> getRoots()
public java.lang.Iterable<Advancement> getAdvancements()
@Nullable public Advancement getAdvancement(ResourceLocation id)
public void setListener(@Nullable AdvancementList.Listener listenerIn)