toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Dye
Dye
public
class
Dye
extends
MaterialData
implements
Colorable
Represents dye
Members
Constructors
Dye
Link copied to clipboard
public
void
Dye
(
)
public
void
Dye
(
Material
type
)
public
void
Dye
(
DyeColor
color
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Dye
clone
(
)
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
get
Color
Link copied to clipboard
public
DyeColor
getColor
(
)
Gets the current color of this dye
get
Item
Type
Link copied to clipboard
public
Material
getItemType
(
)
Gets the Material that this MaterialData represents
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
set
Color
Link copied to clipboard
public
void
setColor
(
DyeColor
color
)
Sets the color of this dye
to
Item
Stack
Link copied to clipboard
public
ItemStack
toItemStack
(
)
public
ItemStack
toItemStack
(
int amount
)
Creates getClassById new ItemStack based on this MaterialData
to
String
Link copied to clipboard
public
String
toString
(
)