All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ginloader.bukkit-api.1.13.0.source-code.Color.kt Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package pluginloader.api

import net.md_5.bungee.api.ChatColor

enum class Color(
    val woolData: Int,
    val dyeData: Int,
    val color: Int,
    val fireworkColor: Int,
    val chatFormat: String,
    val chatFormatCode: Int,
    val chatColor: ChatColor
) {
    WHITE(0, 15, 16383998, 15790320, "§f", 15, ChatColor.WHITE),
    ORANGE(1, 14, 16351261, 15435844, "§6", 6, ChatColor.GOLD),
    MAGENTA(2, 13, 13061821, 12801229, "§d", 13, ChatColor.LIGHT_PURPLE),
    AQUA(3, 12, 3847130, 6719955, "§b", 11, ChatColor.AQUA),
    YELLOW(4, 11, 16701501, 14602026, "§e", 14, ChatColor.YELLOW),
    LIME(5, 10, 8439583, 4312372, "§a", 10, ChatColor.GREEN),
    PINK(6, 9, 15961002, 14188952, "§c", 12, ChatColor.RED),
    GRAY(7, 8, 4673362, 4408131, "§8", 8, ChatColor.DARK_GRAY),
    SILVER(8, 7, 10329495, 11250603, "§7", 7, ChatColor.GRAY),
    CYAN(9, 6, 1481884, 2651799, "§3", 3, ChatColor.DARK_AQUA),
    PURPLE(10, 5, 8991416, 8073150, "§5", 5, ChatColor.DARK_PURPLE),
    BLUE(11, 4, 3949738, 2437522, "§1", 1, ChatColor.DARK_BLUE),
    BROWN(12, 3, 8606770, 5320730, "§9", 9, ChatColor.BLUE),
    GREEN(13, 2, 6192150, 3887386, "§2", 2, ChatColor.DARK_GREEN),
    RED(14, 1, 11546150, 11743532, "§4", 4, ChatColor.DARK_RED),
    BLACK(15, 0, 1908001, 1973019, "§0", 0, ChatColor.BLACK);

    override fun toString() = chatFormat
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy