public class Dye extends MaterialData implements Colorable
| コンストラクタと説明 |
|---|
Dye() |
Dye(DyeColor color) |
Dye(int type)
非推奨です。
Magic value
|
Dye(int type,
byte data)
非推奨です。
Magic value
|
Dye(Material type) |
Dye(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Dye |
clone() |
DyeColor |
getColor()
Gets the current color of this dye
|
void |
setColor(DyeColor color)
Sets the color of this dye
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Dye()
@Deprecated public Dye(int type)
type - the raw type idpublic Dye(Material type)
@Deprecated public Dye(int type, byte data)
type - the raw type iddata - the raw data value@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 クラス内 MaterialDatapublic Dye clone()
clone クラス内 MaterialDataCopyright © 2016. All rights reserved.