Package dev.aurelium.slate.function
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.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackmodify(TemplateInfo<T> info) Modifies the item of a template instance before it is displayed.
-
Method Details
-
modify
Modifies the item of a template instance before it is displayed. The original item can be accessed withItemInfo.item().- Parameters:
info- theTemplateInfocontext object- Returns:
- the modified item
-