public interface TreeLayout
AdvancementTree
.Modifier and Type | Method and Description |
---|---|
Optional<TreeLayoutElement> |
getElement(Advancement advancement)
Gets the
TreeLayoutElement for the specified Advancement ,
Optional.empty() will be returned if the advancement is not present
in the tree or if there is no DisplayInfo present. |
Collection<TreeLayoutElement> |
getElements()
Gets all the
TreeLayoutElement s that are
present in this layout. |
AdvancementTree |
getTree()
Gets the
AdvancementTree this layout is assigned to. |
AdvancementTree getTree()
AdvancementTree
this layout is assigned to.Collection<TreeLayoutElement> getElements()
TreeLayoutElement
s that are
present in this layout.Optional<TreeLayoutElement> getElement(Advancement advancement)
TreeLayoutElement
for the specified Advancement
,
Optional.empty()
will be returned if the advancement is not present
in the tree or if there is no DisplayInfo
present.advancement
- The advancement