BlockData
.@Deprecated public class Dye extends MaterialData implements Colorable
Constructor | Description |
---|---|
Dye() |
Deprecated.
|
Dye(DyeColor color) |
Deprecated.
|
Dye(Material type) |
Deprecated.
|
Dye(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Dye |
clone() |
Deprecated.
|
DyeColor |
getColor() |
Deprecated.
Gets the current color of this dye
|
void |
setColor(DyeColor color) |
Deprecated.
Sets the color of this dye
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Dye()
public Dye(Material type)
@Deprecated public Dye(Material type, byte data)
type
- the typedata
- the raw data valuepublic Dye(DyeColor color)
color
- color of the dyepublic DyeColor getColor()
public void setColor(DyeColor color)
public String toString()
toString
in class MaterialData
public Dye clone()
clone
in class MaterialData
Copyright © 2020. All rights reserved.