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 Details

    • rootAdvancement

      Advancement rootAdvancement()
      Gets the root Advancement.
      Returns:
      The root advancement
    • backgroundPath

      Optional<ResourceKey> backgroundPath()
      Gets the background texture of this tree.
      Returns:
      The background texture