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