Package com.hazebyte.crate.api.util
Class ItemHelper
- java.lang.Object
-
- com.hazebyte.crate.api.util.ItemHelper
-
public class ItemHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ItemHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getLore(org.bukkit.inventory.ItemStack item)
static String
getName(org.bukkit.inventory.ItemStack item)
static boolean
hasLore(org.bukkit.inventory.ItemStack item)
static boolean
hasName(org.bukkit.inventory.ItemStack item)
static org.bukkit.inventory.ItemStack
setLore(org.bukkit.inventory.ItemStack item, List<String> lore)
static org.bukkit.inventory.ItemStack
setName(org.bukkit.inventory.ItemStack item, String name)
static org.bukkit.inventory.ItemStack
setNameAndLore(org.bukkit.inventory.ItemStack item, String name, List<String> lore)
-
-
-
Method Detail
-
hasName
public static boolean hasName(org.bukkit.inventory.ItemStack item)
-
hasLore
public static boolean hasLore(org.bukkit.inventory.ItemStack item)
-
getName
public static String getName(org.bukkit.inventory.ItemStack item)
-
setName
public static org.bukkit.inventory.ItemStack setName(org.bukkit.inventory.ItemStack item, String name)
-
setLore
public static org.bukkit.inventory.ItemStack setLore(org.bukkit.inventory.ItemStack item, List<String> lore)
-
-