Package net.minecraft.advancements
Class AdvancementList
- java.lang.Object
-
- net.minecraft.advancements.AdvancementList
-
public class AdvancementList extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AdvancementList.IListener
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ResourceLocation,Advancement>
advancements
private AdvancementList.IListener
listener
private static org.apache.logging.log4j.Logger
LOGGER
private java.util.Set<Advancement>
roots
private java.util.Set<Advancement>
tasks
-
Constructor Summary
Constructors Constructor Description AdvancementList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.util.Map<ResourceLocation,Advancement.Builder> p_192083_1_)
void
clear()
Advancement
get(ResourceLocation p_192084_1_)
java.util.Collection<Advancement>
getAllAdvancements()
java.lang.Iterable<Advancement>
getRoots()
void
remove(java.util.Set<ResourceLocation> p_192085_1_)
private void
remove(Advancement p_192090_1_)
void
setListener(AdvancementList.IListener p_192086_1_)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
advancements
private final java.util.Map<ResourceLocation,Advancement> advancements
-
roots
private final java.util.Set<Advancement> roots
-
tasks
private final java.util.Set<Advancement> tasks
-
listener
private AdvancementList.IListener listener
-
-
Method Detail
-
remove
private void remove(Advancement p_192090_1_)
-
remove
public void remove(java.util.Set<ResourceLocation> p_192085_1_)
-
add
public void add(java.util.Map<ResourceLocation,Advancement.Builder> p_192083_1_)
-
clear
public void clear()
-
getRoots
public java.lang.Iterable<Advancement> getRoots()
-
getAllAdvancements
public java.util.Collection<Advancement> getAllAdvancements()
-
get
@Nullable public Advancement get(ResourceLocation p_192084_1_)
-
setListener
public void setListener(@Nullable AdvancementList.IListener p_192086_1_)
-
-