public class FlowerPot extends MaterialData
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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, toItemStack
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)
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 MaterialData
public FlowerPot clone()
clone
in class MaterialData
Copyright © 2014. All rights reserved.