Class PlaceholderInfo

java.lang.Object
dev.aurelium.slate.info.MenuInfo
dev.aurelium.slate.info.PlaceholderInfo
Direct Known Subclasses:
TemplatePlaceholderInfo

public class PlaceholderInfo extends MenuInfo
Represents contextual information about a placeholder in a menu.
  • Constructor Details

  • Method Details

    • placeholder

      public String placeholder()
      Gets the name of the placeholder string being replaced. This is the placeholder string in the menu file without the curly braces.
      Returns:
      the placeholder
    • data

      public PlaceholderData data()
      Gets data about the specific placeholder, such as where it is located (display name or lore), the active style, and list data if applicable.
      Returns:
      the placeholder data