Package net.minecraft.advancements
Class AdvancementTree
java.lang.Object
net.minecraft.advancements.AdvancementTree
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate AdvancementTree.Listener
private static final org.slf4j.Logger
private final Map<ResourceLocation,
AdvancementNode> private final Set<AdvancementNode>
private final Set<AdvancementNode>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Collection<AdvancementHolder> p_299574_) void
clear()
get
(AdvancementHolder p_299974_) get
(ResourceLocation p_301065_) nodes()
void
remove
(Set<ResourceLocation> p_297924_) private void
remove
(AdvancementNode p_299357_) roots()
void
setListener
(AdvancementTree.Listener p_299884_) private boolean
tryInsert
(AdvancementHolder p_300067_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
nodes
-
roots
-
tasks
-
listener
-
-
Constructor Details
-
AdvancementTree
public AdvancementTree()
-
-
Method Details
-
remove
-
remove
-
addAll
-
tryInsert
-
clear
public void clear() -
roots
-
nodes
-
get
-
get
-
setListener
-