Class DyeColorUtil

java.lang.Object
me.ulrich.clans.utils.DyeColorUtil

public class DyeColorUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.DyeColor
    of(int number)
     
    static org.bukkit.DyeColor
    of(org.bukkit.Material material)
     
    static org.bukkit.Material
    toBannerMaterial(org.bukkit.DyeColor dyeColor)
     
    static org.bukkit.inventory.ItemStack
    toDyeItemStack(org.bukkit.DyeColor dyeColor, int amount)
     
    static org.bukkit.Material
    toDyeMaterial(org.bukkit.DyeColor dyeColor)
     
    static short
    toShort(org.bukkit.DyeColor dyeColor)
     
    static org.bukkit.Material
    toWoolMaterial(org.bukkit.DyeColor dyeColor)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DyeColorUtil

      public DyeColorUtil()
  • Method Details

    • of

      public static org.bukkit.DyeColor of(int number)
    • of

      public static org.bukkit.DyeColor of(org.bukkit.Material material)
    • toShort

      public static short toShort(org.bukkit.DyeColor dyeColor)
    • toBannerMaterial

      public static org.bukkit.Material toBannerMaterial(org.bukkit.DyeColor dyeColor)
    • toDyeMaterial

      public static org.bukkit.Material toDyeMaterial(org.bukkit.DyeColor dyeColor)
    • toDyeItemStack

      public static org.bukkit.inventory.ItemStack toDyeItemStack(org.bukkit.DyeColor dyeColor, int amount)
    • toWoolMaterial

      public static org.bukkit.Material toWoolMaterial(org.bukkit.DyeColor dyeColor)