Package dev.aurelium.slate.item
Class TemplateClick<T>
java.lang.Object
dev.aurelium.slate.info.MenuInfo
dev.aurelium.slate.item.ItemClick
dev.aurelium.slate.item.TemplateClick<T>
- Type Parameters:
T- the template context type
Stores contextual data for template clicks.
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateClick(Slate slate, org.bukkit.entity.Player player, org.bukkit.event.inventory.InventoryClickEvent event, org.bukkit.inventory.ItemStack item, SlotPos pos, ActiveMenu menu, T value) -
Method Summary
-
Constructor Details
-
Method Details
-
value
Gets the context value corresponding to the instance of the template that was clicked.- Returns:
- the context value
-