Package com.earth2me.essentials.utils
Class MaterialUtil
java.lang.Object
com.earth2me.essentials.utils.MaterialUtil
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Material
convertFromLegacy
(int id, byte damage) static DyeColor
getColorOf
(Material material) static int
static boolean
static boolean
static boolean
static boolean
static boolean
isChestplate
(Material material) static boolean
isEditableBook
(Material material) static boolean
isFirework
(Material material) static boolean
isFireworkCharge
(Material material) static boolean
isHangingSign
(Material material) static boolean
static boolean
isLeatherArmor
(Material material) static boolean
isLeggings
(Material material) static boolean
isPlayerHead
(ItemStack stack) static boolean
static boolean
static boolean
isSignPost
(Material material) static boolean
static boolean
isWallHangingSign
(Material material) static boolean
isWallSign
(Material material) static void
-
Field Details
-
SPAWNER
-
-
Method Details
-
isHelmet
-
isChestplate
-
isLeggings
-
isBoots
-
isBed
-
isBanner
-
isFirework
-
isFireworkCharge
-
isLeatherArmor
-
isPlayerHead
-
isPotion
-
isSignPost
-
isWallSign
-
isHangingSign
-
isWallHangingSign
-
isEditableBook
-
isSign
-
isSkull
-
isAir
-
getDamage
-
setDamage
-
convertFromLegacy
-
getColorOf
-