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 Summary
Constructors -
Method Summary
Modifier 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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
FlowerPot
public FlowerPot()Deprecated.Default constructor for a flower pot. -
FlowerPot
Deprecated. -
FlowerPot
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
getContents
Deprecated.Get the material in the flower pot- Returns:
- material MaterialData for the block currently in the flower pot or null if empty
-
setContents
Deprecated.Set the contents of the flower pot- Parameters:
materialData- MaterialData of the block to put in the flower pot.
-
toString
Deprecated.- Overrides:
toStringin classMaterialData
-
clone
Deprecated.- Overrides:
clonein classMaterialData
-
BlockData.