Class ItemTypes

java.lang.Object
ru.cwcode.cwutils.items.ItemTypes

public class ItemTypes extends Object
  • Constructor Details

    • ItemTypes

      public ItemTypes()
  • Method Details

    • getItemType

      public static ItemTypes.ItemType getItemType(org.bukkit.inventory.ItemStack item)
    • getToolType

      public static ItemTypes.Instruments getToolType(org.bukkit.inventory.ItemStack item)
    • getItemType

      public static ItemTypes.ItemType getItemType(org.bukkit.Material itemType)
    • getToolType

      public static ItemTypes.Instruments getToolType(org.bukkit.Material itemType)
    • 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)