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_301192_) void
clear()
get
(AdvancementHolder p_301246_) get
(ResourceLocation p_301217_) nodes()
void
remove
(Set<ResourceLocation> p_300917_) private void
remove
(AdvancementNode p_301231_) roots()
void
setListener
(AdvancementTree.Listener p_301114_) private boolean
tryInsert
(AdvancementHolder p_301290_)
-
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
-