Class MaterialUtil

java.lang.Object
com.earth2me.essentials.utils.MaterialUtil

public final class MaterialUtil extends Object
  • Field Details

    • SPAWNER

      public static final Material SPAWNER
  • Method Details

    • isHelmet

      public static boolean isHelmet(Material material)
    • isChestplate

      public static boolean isChestplate(Material material)
    • isLeggings

      public static boolean isLeggings(Material material)
    • isBoots

      public static boolean isBoots(Material material)
    • isBed

      public static boolean isBed(Material material)
    • isBanner

      public static boolean isBanner(Material material)
    • isFirework

      public static boolean isFirework(Material material)
    • isFireworkCharge

      public static boolean isFireworkCharge(Material material)
    • isLeatherArmor

      public static boolean isLeatherArmor(Material material)
    • isPlayerHead

      public static boolean isPlayerHead(ItemStack stack)
    • isPotion

      public static boolean isPotion(Material material)
    • isSignPost

      public static boolean isSignPost(Material material)
    • isWallSign

      public static boolean isWallSign(Material material)
    • isHangingSign

      public static boolean isHangingSign(Material material)
    • isWallHangingSign

      public static boolean isWallHangingSign(Material material)
    • isEditableBook

      public static boolean isEditableBook(Material material)
    • isSign

      public static boolean isSign(Material material)
    • isSkull

      public static boolean isSkull(Material material)
    • isAir

      public static boolean isAir(Material material)
    • getDamage

      public static int getDamage(ItemStack stack)
    • setDamage

      public static void setDamage(ItemStack stack, int damage)
    • convertFromLegacy

      public static Material convertFromLegacy(int id, byte damage)
    • getColorOf

      public static DyeColor getColorOf(Material material)