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)
    • isMobHead

      public static boolean isMobHead(Material material, int durability)
    • isPlayerHead

      public static boolean isPlayerHead(Material material, int durability)
    • isPotion

      public static boolean isPotion(Material material)
    • isSignPost

      public static boolean isSignPost(Material material)
    • isWallSign

      public static boolean isWallSign(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)
    • convertFromLegacy

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

      public static DyeColor getColorOf(Material material)