Package com.marcusslover.plus.lib.item
Interface Button.ItemFactory
- Enclosing class:
Button
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a factory for creating items. Used for dynamic items.
-
Method Summary
-
Method Details
-
create
Creates an item for the given player.- Parameters:
player- The player- Returns:
- The item
-