Package dev.aurelium.slate.info
Class TemplateInfo<T>
java.lang.Object
dev.aurelium.slate.info.MenuInfo
dev.aurelium.slate.info.ItemInfo
dev.aurelium.slate.info.TemplateInfo<T>
- Type Parameters:
T- the context object type
- Direct Known Subclasses:
ComponentInfo
Represents contextual information about an instance of a template in a menu with a specific context.
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateInfo(Slate slate, org.bukkit.entity.Player player, ActiveMenu menu, org.bukkit.inventory.ItemStack item, T value) -
Method Summary
-
Constructor Details
-
Method Details
-
value
Gets the value of the context of this template instance.- Returns:
- the context object
-