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 Summary
ConstructorDescriptionDeprecated, 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 Summary
Modifier 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 potvoid
setContents
(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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
FlowerPot
public FlowerPot()Deprecated, for removal: This API element is subject to removal in a future version.Default constructor for a flower pot. -
FlowerPot
Deprecated, for removal: This API element is subject to removal in a future version. -
FlowerPot
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getContents
Deprecated, 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
-
setContents
Deprecated, 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.
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.