Class TemplateInfo<T>

Type Parameters:
T - the context object type
Direct Known Subclasses:
ComponentInfo

public class TemplateInfo<T> extends ItemInfo
Represents contextual information about an instance of a template in a menu with a specific context.
  • Constructor Details

    • TemplateInfo

      public TemplateInfo(Slate slate, org.bukkit.entity.Player player, ActiveMenu menu, org.bukkit.inventory.ItemStack item, T value)
  • Method Details

    • value

      public T value()
      Gets the value of the context of this template instance.
      Returns:
      the context object