Dye

public class Dye extends MaterialData implements Colorable

Represents dye

Constructors

Link copied to clipboard
public void Dye()
public void Dye(Material type)
public void Dye(DyeColor color)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Dye clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public DyeColor getColor()
Gets the current color of this dye
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setColor(DyeColor color)
Sets the color of this dye
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()