Package me.bimmr.bimmcore.utils
Class ItemsUtil
- java.lang.Object
-
- me.bimmr.bimmcore.utils.ItemsUtil
-
public class ItemsUtil extends java.lang.Object
Utilities class forItems
-
-
Constructor Summary
Constructors Constructor Description ItemsUtil()
-
Method Summary
Modifier and Type Method Description static java.util.ArrayList<Items>
getItems(java.util.List<java.lang.String> list)
Get ArrayList ofItems
from a List of Stringsstatic java.util.ArrayList<org.bukkit.inventory.ItemStack>
getItemStacks(java.util.List<java.lang.String> list)
Get ArrayList of ItemStack from a List of Stringsstatic java.util.ArrayList<java.lang.String>
getItemStacksToString(java.util.List<org.bukkit.inventory.ItemStack> list)
Get ArrayList of String from a List of ItemStackstatic java.util.ArrayList<java.lang.String>
getItemsToString(java.util.List<Items> list)
Get ArrayList of String from a List ofItems
-
-
-
Method Detail
-
getItemStacksToString
public static java.util.ArrayList<java.lang.String> getItemStacksToString(java.util.List<org.bukkit.inventory.ItemStack> list)
Get ArrayList of String from a List of ItemStack- Parameters:
list
- List of ItemStacks- Returns:
- ArrayList of Strings
-
getItemsToString
public static java.util.ArrayList<java.lang.String> getItemsToString(java.util.List<Items> list)
Get ArrayList of String from a List ofItems
- Parameters:
list
- List of Items- Returns:
- ArrayList of Strings
-
getItemStacks
public static java.util.ArrayList<org.bukkit.inventory.ItemStack> getItemStacks(java.util.List<java.lang.String> list)
Get ArrayList of ItemStack from a List of Strings- Parameters:
list
- List of Strings- Returns:
- ArrayList of ItemStacks
-
-