mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-24 21:38:47 +01:00
Fixed dye colours
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
e60e60429c
commit
5488422237
1 changed files with 16 additions and 16 deletions
|
@ -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…
Add table
Reference in a new issue