Fixed dye colours
This commit is contained in:
parent
b9ada69ddb
commit
e5bff5a0d0
@ -8,22 +8,22 @@ import java.util.Map;
|
|||||||
* All supported color values for dyes and cloth
|
* All supported color values for dyes and cloth
|
||||||
*/
|
*/
|
||||||
public enum DyeColor {
|
public enum DyeColor {
|
||||||
BLACK((byte) 0x0),
|
WHITE((byte) 0x0),
|
||||||
RED((byte) 0x1),
|
ORANGE((byte) 0x1),
|
||||||
GREEN((byte) 0x2),
|
MAGENTA((byte) 0x2),
|
||||||
BROWN((byte) 0x3),
|
LIGHT_BLUE((byte) 0x3),
|
||||||
BLUE((byte) 0x4),
|
YELLOW((byte) 0x4),
|
||||||
PURPLE((byte) 0x5),
|
LIME((byte) 0x5),
|
||||||
CYAN((byte) 0x6),
|
PINK((byte) 0x6),
|
||||||
SILVER((byte) 0x7),
|
GRAY((byte) 0x7),
|
||||||
GRAY((byte) 0x8),
|
SILVER((byte) 0x8),
|
||||||
PINK((byte) 0x9),
|
CYAN((byte) 0x9),
|
||||||
LIME((byte) 0xA),
|
PURPLE((byte) 0xA),
|
||||||
YELLOW((byte) 0xB),
|
BLUE((byte) 0xB),
|
||||||
LIGHT_BLUE((byte) 0xC),
|
BROWN((byte) 0xC),
|
||||||
MAGENTA((byte) 0xD),
|
GREEN((byte) 0xD),
|
||||||
ORANGE((byte) 0xE),
|
RED((byte) 0xE),
|
||||||
WHITE((byte) 0xF);
|
BLACK((byte) 0xF);
|
||||||
|
|
||||||
private final byte data;
|
private final byte data;
|
||||||
private final static Map<Byte, DyeColor> colors = new HashMap<Byte, DyeColor>();
|
private final static Map<Byte, DyeColor> colors = new HashMap<Byte, DyeColor>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user