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
ItemStacks, based on the provided list of Heads. |
List<org.bukkit.inventory.ItemStack> |
getItemStacks(List<Head> heads,
int quantity)
Get a list of
ItemStacks, based on the provided list of Heads. |
List<org.bukkit.inventory.ItemStack> getItemStacks(List<Head> heads)
ItemStacks, based on the provided list of Heads.
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)
ItemStacks, based on the provided list of Heads.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.