public class Stone extends MaterialData
| Constructor and Description |
|---|
Stone() |
Stone(int type)
Deprecated.
Magic value
|
Stone(int type,
byte data)
Deprecated.
Magic value
|
Stone(Material type) |
Stone(Material type,
byte data)
Deprecated.
Magic value
|
Stone(StoneType stone) |
| Modifier and Type | Method and Description |
|---|---|
Stone |
clone() |
StoneType |
getType()
Gets the current type of this stone.
|
void |
setType(StoneType stone)
Sets the type of this stone.
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Stone()
public Stone(StoneType stone)
@Deprecated public Stone(int type)
type - the typepublic Stone(Material type)
@Deprecated public Stone(int type, byte data)
type - the typedata - the data@Deprecated public Stone(Material type, byte data)
type - the typedata - the datapublic StoneType getType()
public void setType(StoneType stone)
stone - New type of this stonepublic String toString()
toString in class MaterialDatapublic Stone clone()
clone in class MaterialDataCopyright © 2021. All rights reserved.