Package dev.aurelium.slate.info
Class PlaceholderInfo
java.lang.Object
dev.aurelium.slate.info.MenuInfo
dev.aurelium.slate.info.PlaceholderInfo
- Direct Known Subclasses:
TemplatePlaceholderInfo
Represents contextual information about a placeholder in a menu.
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceholderInfo(Slate slate, org.bukkit.entity.Player player, String placeholder, ActiveMenu menu, PlaceholderData data) -
Method Summary
Modifier and TypeMethodDescriptiondata()Gets data about the specific placeholder, such as where it is located (display name or lore), the active style, and list data if applicable.Gets the name of the placeholder string being replaced.
-
Constructor Details
-
Method Details
-
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
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
-