|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.FlowerPot
public class FlowerPot
Represents a flower pot.
| Constructor Summary | |
|---|---|
FlowerPot()
Default constructor for a flower pot. |
|
FlowerPot(int type)
Deprecated. Magic value |
|
FlowerPot(int type,
byte data)
Deprecated. Magic value |
|
FlowerPot(Material type)
|
|
FlowerPot(Material type,
byte data)
Deprecated. Magic value |
|
| Method Summary | |
|---|---|
FlowerPot |
clone()
|
MaterialData |
getContents()
Get the material in the flower pot |
void |
setContents(MaterialData materialData)
Set the contents of the flower pot |
String |
toString()
|
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowerPot()
@Deprecated public FlowerPot(int type)
public FlowerPot(Material type)
@Deprecated
public FlowerPot(int type,
byte data)
@Deprecated
public FlowerPot(Material type,
byte data)
| Method Detail |
|---|
public MaterialData getContents()
public void setContents(MaterialData materialData)
materialData - MaterialData of the block to put in the flower pot.public String toString()
toString in class MaterialDatapublic FlowerPot clone()
clone in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||