Package net.glowstone.util
Class WoolUtil
java.lang.Object
net.glowstone.util.WoolUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.DyeColorgetDyeByWoolMaterial(org.bukkit.Material material) If found, returns aDyeColorlinked to the wool color.static org.bukkit.MaterialgetWoolMaterialByDye(org.bukkit.DyeColor color) If found, returns aMateriallinked to the dye color.
-
Method Details
-
getWoolMaterialByDye
@Nullable public static org.bukkit.Material getWoolMaterialByDye(org.bukkit.DyeColor color) If found, returns aMateriallinked to the dye color. Otherwise, returnsnull. -
getDyeByWoolMaterial
@Nullable public static org.bukkit.DyeColor getDyeByWoolMaterial(org.bukkit.Material material) If found, returns aDyeColorlinked to the wool color. Otherwise, returnsnull.
-