MCPcopy Create free account
hub / github.com/Teneted/Tenet / DyeColor

Enum DyeColor

src/main/java/org/bukkit/DyeColor.java:11–229  ·  view source on GitHub ↗

All supported color values for dyes and cloth

Source from the content-addressed store, hash-verified

9 * All supported color values for dyes and cloth
10 */
11public enum DyeColor {
12
13 /**
14 * Represents white dye.
15 */
16 WHITE(0x0, 0xF, Color.fromRGB(0xF9FFFE), Color.fromRGB(0xF0F0F0)),
17 /**
18 * Represents orange dye.
19 */
20 ORANGE(0x1, 0xE, Color.fromRGB(0xF9801D), Color.fromRGB(0xEB8844)),
21 /**
22 * Represents magenta dye.
23 */
24 MAGENTA(0x2, 0xD, Color.fromRGB(0xC74EBD), Color.fromRGB(0xC354CD)),
25 /**
26 * Represents light blue dye.
27 */
28 LIGHT_BLUE(0x3, 0xC, Color.fromRGB(0x3AB3DA), Color.fromRGB(0x6689D3)),
29 /**
30 * Represents yellow dye.
31 */
32 YELLOW(0x4, 0xB, Color.fromRGB(0xFED83D), Color.fromRGB(0xDECF2A)),
33 /**
34 * Represents lime dye.
35 */
36 LIME(0x5, 0xA, Color.fromRGB(0x80C71F), Color.fromRGB(0x41CD34)),
37 /**
38 * Represents pink dye.
39 */
40 PINK(0x6, 0x9, Color.fromRGB(0xF38BAA), Color.fromRGB(0xD88198)),
41 /**
42 * Represents gray dye.
43 */
44 GRAY(0x7, 0x8, Color.fromRGB(0x474F52), Color.fromRGB(0x434343)),
45 /**
46 * Represents light gray dye.
47 */
48 LIGHT_GRAY(0x8, 0x7, Color.fromRGB(0x9D9D97), Color.fromRGB(0xABABAB)),
49 /**
50 * Represents cyan dye.
51 */
52 CYAN(0x9, 0x6, Color.fromRGB(0x169C9C), Color.fromRGB(0x287697)),
53 /**
54 * Represents purple dye.
55 */
56 PURPLE(0xA, 0x5, Color.fromRGB(0x8932B8), Color.fromRGB(0x7B2FBE)),
57 /**
58 * Represents blue dye.
59 */
60 BLUE(0xB, 0x4, Color.fromRGB(0x3C44AA), Color.fromRGB(0x253192)),
61 /**
62 * Represents brown dye.
63 */
64 BROWN(0xC, 0x3, Color.fromRGB(0x835432), Color.fromRGB(0x51301A)),
65 /**
66 * Represents green dye.
67 */
68 GREEN(0xD, 0x2, Color.fromRGB(0x5E7C16), Color.fromRGB(0x3B511A)),

Callers

nothing calls this directly

Calls 7

fromRGBMethod · 0.95
getFireworkColorMethod · 0.80
putMethod · 0.65
getColorMethod · 0.65
buildMethod · 0.65
valuesMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected