Package wtf.choco.locksecurity.api.key
Interface IKeyBuilder
- All Known Subinterfaces:
IKeyBuilderSmithed
,IKeyBuilderUnsmithed
public interface IKeyBuilder
Represents a builder for key
ItemStacks
.- Since:
- 3.0.0
- Author:
- Parker Hawke - Choco
- See Also:
IKeyFactory
-
Method Details
-
build
@NotNull org.bukkit.inventory.ItemStack build(int amount)Build the key.- Parameters:
amount
- the amount of keys to create- Returns:
- the built key(s)
- Throws:
IllegalArgumentException
- if amount is <= 0
-
build
@NotNull default org.bukkit.inventory.ItemStack build()Build the key.- Returns:
- the built key
-