DyeColor

public enum DyeColor

All supported color values for dyes and cloth

Entries

Link copied to clipboard

Represents white dye.

Link copied to clipboard

Represents orange dye.

Link copied to clipboard

Represents magenta dye.

Link copied to clipboard

Represents light blue dye.

Link copied to clipboard

Represents yellow dye.

Link copied to clipboard

Represents lime dye.

Link copied to clipboard

Represents pink dye.

Link copied to clipboard

Represents gray dye.

Link copied to clipboard

Represents silver dye.

Link copied to clipboard

Represents cyan dye.

Link copied to clipboard

Represents purple dye.

Link copied to clipboard

Represents blue dye.

Link copied to clipboard

Represents brown dye.

Link copied to clipboard

Represents green dye.

Link copied to clipboard

Represents red dye.

Link copied to clipboard

Represents black dye.

Properties

Link copied to clipboard
public final Color color
Link copied to clipboard
public final byte dyeData
Link copied to clipboard
public final byte woolData

Functions

Link copied to clipboard
public static DyeColor getByColor(Color color)
Gets the DyeColor with the given color value.
Link copied to clipboard
public static DyeColor getByFireworkColor(Color color)
Gets the DyeColor with the given firework color value.
Link copied to clipboard
public Color getColor()
Gets the color that this dye represents.
Link copied to clipboard
Gets the firework color that this dye represents.
Link copied to clipboard
public static DyeColor valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<DyeColor> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.