Interface AdvancementTree
public interface AdvancementTree
Represents a
Advancement
tree or tab menu. The tree will become
visible to a Player
once the root Advancement
gets achieved.-
Method Summary
Modifier and TypeMethodDescriptionGets the background texture of this tree.Gets the rootAdvancement
.
-
Method Details
-
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
-