java.lang.Cloneable
@Deprecated public class FlowerPot extends MaterialData
FlowerPot
.Constructor | Description |
---|---|
FlowerPot() |
Deprecated.
Default constructor for a flower pot.
|
FlowerPot(int type) |
Deprecated.
Magic value
|
FlowerPot(int type,
byte data) |
Deprecated.
Magic value
|
FlowerPot(Material type) |
Deprecated.
|
FlowerPot(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | 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
|
java.lang.String |
toString() |
Deprecated.
|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public FlowerPot()
@Deprecated public FlowerPot(int type)
type
- the raw type idpublic FlowerPot(Material type)
@Deprecated public FlowerPot(int type, byte data)
type
- the raw type iddata
- the raw data value@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 java.lang.String toString()
toString
in class MaterialData
public FlowerPot clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.