public interface HeadToItemstackMapper
Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.ItemStack |
getItemStack(Head head)
Get an
ItemStack , based on the provided Head . |
org.bukkit.inventory.ItemStack |
getItemStack(Head head,
int quantity)
Get an
ItemStack , based on the provided Head . |
List<org.bukkit.inventory.ItemStack> |
getItemStacks(List<Head> heads)
Get a list of
ItemStack s, based on the provided list of Head s. |
List<org.bukkit.inventory.ItemStack> |
getItemStacks(List<Head> heads,
int quantity)
Get a list of
ItemStack s, based on the provided list of Head s. |
List<org.bukkit.inventory.ItemStack> getItemStacks(List<Head> heads)
ItemStack
s, based on the provided list of Head
s.
The number of items per stack is set to 1.heads
- the list of headsList<org.bukkit.inventory.ItemStack> getItemStacks(List<Head> heads, int quantity)
ItemStack
s, based on the provided list of Head
s.heads
- the list of headsquantity
- the number of items per stackorg.bukkit.inventory.ItemStack getItemStack(Head head)
ItemStack
, based on the provided Head
.
The number of items per stack is set to 1.head
- the headCopyright © 2020. All rights reserved.