FlowerPot.@Deprecated public class FlowerPot extends MaterialData
| Constructor and Description | 
|---|
FlowerPot()
Deprecated.  
Default constructor for a flower pot. 
 | 
FlowerPot(Material type)
Deprecated.  
  | 
FlowerPot(Material type,
         byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FlowerPot | 
clone()
Deprecated.  
  | 
MaterialData | 
getContents()
Deprecated.  
Get the material in the flower pot 
 | 
void | 
setContents(MaterialData materialData)
Deprecated.  
Set the contents of the flower pot 
 | 
String | 
toString()
Deprecated.  
  | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic FlowerPot()
public FlowerPot(Material type)
@Deprecated public FlowerPot(Material type, byte data)
type - the typedata - the raw data valuepublic MaterialData getContents()
public void setContents(MaterialData materialData)
materialData - MaterialData of the block to put in the flower pot.public String toString()
toString in class MaterialDatapublic FlowerPot clone()
clone in class MaterialDataCopyright © 2022. All rights reserved.