Interface TreeLayoutElement


public interface TreeLayoutElement
Represents a layout element in the AdvancementTree.
  • Method Details

    • advancement

      Advancement advancement()
      Gets the Advancement.
      Returns:
      The advancement
    • position

      Vector2d position()
      Gets the position of the Advancement.
      Returns:
      The position
    • setPosition

      default void setPosition(Vector2d position)
      Sets the position of the Advancement.
      Parameters:
      position - The position
    • setPosition

      void setPosition(double x, double y)
      Sets the position of the Advancement.
      Parameters:
      x - The x coordinate
      y - The y coordinate