Package org.bukkit.material
Class FlowerPot
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.FlowerPot
- All Implemented Interfaces:
- Cloneable
Deprecated.
Represents a flower pot.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Get the material in the flower potvoidsetContents(MaterialData materialData) Deprecated.Set the contents of the flower pottoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
FlowerPotpublic FlowerPot()Deprecated.Default constructor for a flower pot.
- 
FlowerPotDeprecated.
- 
FlowerPotDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getContentsDeprecated.Get the material in the flower pot- Returns:
- material MaterialData for the block currently in the flower pot or null if empty
 
- 
setContentsDeprecated.Set the contents of the flower pot- Parameters:
- materialData- MaterialData of the block to put in the flower pot.
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.