Interface AdvancementTree
-
public interface AdvancementTreeRepresents aAdvancementtree or tab menu. The tree will become visible to aPlayeronce the rootAdvancementgets achieved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ResourceKey>backgroundPath()Gets the background texture of this tree.AdvancementrootAdvancement()Gets the rootAdvancement.
-
-
-
Method Detail
-
rootAdvancement
Advancement rootAdvancement()
Gets the rootAdvancement.- Returns:
- The root advancement
-
backgroundPath
Optional<ResourceKey> backgroundPath()
Gets the background texture of this tree.- Returns:
- The background texture
-
-