Interface TemplateModifier<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TemplateModifier<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
    Modifies the item of a template instance before it is displayed.
  • Method Details

    • modify

      org.bukkit.inventory.ItemStack modify(TemplateInfo<T> info)
      Modifies the item of a template instance before it is displayed. The original item can be accessed with ItemInfo.item().
      Parameters:
      info - the TemplateInfo context object
      Returns:
      the modified item