Class WoolUtil

java.lang.Object
net.glowstone.util.WoolUtil

public class WoolUtil extends Object
  • Method Details

    • getWoolMaterialByDye

      @Nullable public static org.bukkit.Material getWoolMaterialByDye(org.bukkit.DyeColor color)
      If found, returns a Material linked to the dye color. Otherwise, returns null.
    • getDyeByWoolMaterial

      @Nullable public static org.bukkit.DyeColor getDyeByWoolMaterial(org.bukkit.Material material)
      If found, returns a DyeColor linked to the wool color. Otherwise, returns null.