Interface HeadToItemstackMapper
public interface HeadToItemstackMapper
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackgetItemStack(Head head) Get anItemStack, based on the providedHead.org.bukkit.inventory.ItemStackgetItemStack(Head head, int quantity) Get anItemStack, based on the providedHead.List<org.bukkit.inventory.ItemStack>getItemStacks(List<Head> heads) Get a list ofItemStacks, based on the provided list ofHeads.List<org.bukkit.inventory.ItemStack>getItemStacks(List<Head> heads, int quantity) Get a list ofItemStacks, based on the provided list ofHeads.
-
Method Details
-
getItemStacks
Get a list ofItemStacks, based on the provided list ofHeads. 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 ofItemStacks, based on the provided list ofHeads.- 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
-