Interface HeadToItemstackMapper
public interface HeadToItemstackMapper
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStack
getItemStack
(Head head) Get anItemStack
, based on the providedHead
.org.bukkit.inventory.ItemStack
getItemStack
(Head head, int quantity) Get anItemStack
, based on the providedHead
.List<org.bukkit.inventory.ItemStack>
getItemStacks
(List<Head> heads) Get a list ofItemStack
s, based on the provided list ofHead
s.List<org.bukkit.inventory.ItemStack>
getItemStacks
(List<Head> heads, int quantity) Get a list ofItemStack
s, based on the provided list ofHead
s.
-
Method Details
-
getItemStacks
Get a list ofItemStack
s, based on the provided list ofHead
s. The number of items per stack is set to 1.- Parameters:
heads
- the list of heads- Returns:
- the list of itemstacks
-
getItemStacks
Get a list ofItemStack
s, based on the provided list ofHead
s.- Parameters:
heads
- the list of headsquantity
- the number of items per stack- Returns:
- the list of itemstacks
-
getItemStack
Get anItemStack
, based on the providedHead
. The number of items per stack is set to 1.- Parameters:
head
- the head- Returns:
- the itemstack
-
getItemStack
Get anItemStack
, based on the providedHead
.- Parameters:
head
- the headquantity
- the number of items per stack- Returns:
- the itemstack
-