Package ru.cwcode.cwutils.items
Class ItemTypes
java.lang.Object
ru.cwcode.cwutils.items.ItemTypes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemTypes.ItemTypegetItemType(org.bukkit.inventory.ItemStack item) static ItemTypes.ItemTypegetItemType(org.bukkit.Material itemType) static ItemTypes.InstrumentsgetToolType(org.bukkit.inventory.ItemStack item) static ItemTypes.InstrumentsgetToolType(org.bukkit.Material itemType) static booleanisAxe(org.bukkit.inventory.ItemStack item) static booleanisHoe(org.bukkit.inventory.ItemStack item) static booleanisPickaxe(org.bukkit.inventory.ItemStack item) static booleanisShovel(org.bukkit.inventory.ItemStack item) static booleanisSword(org.bukkit.inventory.ItemStack item) static booleanisTool(org.bukkit.inventory.ItemStack item) static booleanisTrident(org.bukkit.inventory.ItemStack item) static booleanisUsable(org.bukkit.inventory.ItemStack item) static booleanisUsable(org.bukkit.Material material)
-
Constructor Details
-
ItemTypes
public ItemTypes()
-
-
Method Details
-
getItemType
-
getToolType
-
getItemType
-
getToolType
-
isSword
public static boolean isSword(org.bukkit.inventory.ItemStack item) -
isAxe
public static boolean isAxe(org.bukkit.inventory.ItemStack item) -
isHoe
public static boolean isHoe(org.bukkit.inventory.ItemStack item) -
isShovel
public static boolean isShovel(org.bukkit.inventory.ItemStack item) -
isPickaxe
public static boolean isPickaxe(org.bukkit.inventory.ItemStack item) -
isTool
public static boolean isTool(org.bukkit.inventory.ItemStack item) -
isTrident
public static boolean isTrident(org.bukkit.inventory.ItemStack item) -
isUsable
public static boolean isUsable(org.bukkit.inventory.ItemStack item) -
isUsable
public static boolean isUsable(org.bukkit.Material material)
-