public class FlowerPot extends MaterialData
| コンストラクタと説明 |
|---|
FlowerPot()
Default constructor for a flower pot.
|
FlowerPot(int type)
非推奨です。
Magic value
|
FlowerPot(int type,
byte data)
非推奨です。
Magic value
|
FlowerPot(Material type) |
FlowerPot(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
FlowerPot |
clone() |
MaterialData |
getContents()
Get the material in the flower pot
|
void |
setContents(MaterialData materialData)
Set the contents of the flower pot
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic FlowerPot()
@Deprecated public FlowerPot(int type)
type - the raw type idpublic FlowerPot(Material type)
@Deprecated public FlowerPot(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public FlowerPot(Material type, byte data)
type - the typedata - the raw data valuepublic MaterialData getContents()
public void setContents(MaterialData materialData)
materialData - MaterialData of the block to put in the flower pot.public String toString()
toString クラス内 MaterialDatapublic FlowerPot clone()
clone クラス内 MaterialDataCopyright © 2016. All rights reserved.