public enum EnumWireColour extends java.lang.Enum<EnumWireColour>
EnumDyeColor
that are suitable for use in LED's or wires (or equivalent). In other
words they must all be uniquely identifiable from both their lit and dark colours, and not look similar to other
colours.Enum Constant and Description |
---|
BLUE |
BROWN |
GREEN |
LIGHT_BLUE |
LIME |
ORANGE |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.EnumDyeColor |
primaryIdenticalColour
The primary minecraft colour that this is based on.
|
java.util.Set<net.minecraft.item.EnumDyeColor> |
similarBasedColours
A set of similar minecraft colours that this single colour is based on.
|
Modifier and Type | Method and Description |
---|---|
static EnumWireColour |
convertToWire(net.minecraft.item.EnumDyeColor dye) |
static EnumWireColour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumWireColour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumWireColour WHITE
public static final EnumWireColour ORANGE
public static final EnumWireColour LIGHT_BLUE
public static final EnumWireColour YELLOW
public static final EnumWireColour LIME
public static final EnumWireColour PINK
public static final EnumWireColour PURPLE
public static final EnumWireColour BLUE
public static final EnumWireColour BROWN
public static final EnumWireColour GREEN
public static final EnumWireColour RED
public final net.minecraft.item.EnumDyeColor primaryIdenticalColour
public final java.util.Set<net.minecraft.item.EnumDyeColor> similarBasedColours
primaryIdenticalColour
.public static EnumWireColour[] values()
for (EnumWireColour c : EnumWireColour.values()) System.out.println(c);
public static EnumWireColour valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EnumWireColour convertToWire(net.minecraft.item.EnumDyeColor dye)