Package net.evmodder.EvLib.extras
Class TypeUtils
java.lang.Object
net.evmodder.EvLib.extras.TypeUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DyeColor
getDyeColor
(Material mat) static boolean
static boolean
static boolean
static boolean
isChestplate
(Material mat) static boolean
isConcrete
(Material mat) static boolean
isConcretePowder
(Material mat) static boolean
static boolean
isFlowerPot
(Material mat) static boolean
static boolean
isHangingSign
(Material mat) static boolean
static boolean
isInfested
(Material mat) static boolean
isObtainable
(Material mat, TypeUtils.ObtainableOptions... opts) static boolean
static boolean
static boolean
static boolean
isShulkerBox
(Material mat) static boolean
static boolean
static boolean
isTerracotta
(Material mat) static boolean
isWallBanner
(Material mat) static boolean
isWallSign
(Material mat) static boolean
static boolean
pickIsAtLeast
(Material pickType, Material needPick)
-
Constructor Details
-
TypeUtils
public TypeUtils()
-
-
Method Details
-
isDye
-
getDyeColor
-
isBed
-
isWool
-
isShulkerBox
-
isConcrete
-
isConcretePowder
-
isTerracotta
-
isGlazedTerracotta
-
isCarpet
-
isWallBanner
-
isWallSign
-
isHangingSign
-
isSign
-
isFlowerPot
-
isOre
-
isInfested
-
isChestplate
-
isSword
-
isAxe
-
isPickaxe
-
isShovel
-
isHoe
-
pickIsAtLeast
-
isObtainable
-