java.lang.Cloneable
public class Sandstone extends MaterialData
Constructor | Description |
---|---|
Sandstone() |
|
Sandstone(int type) |
Deprecated.
Magic value
|
Sandstone(int type,
byte data) |
Deprecated.
Magic value
|
Sandstone(Material type) |
|
Sandstone(Material type,
byte data) |
Deprecated.
Magic value
|
Sandstone(SandstoneType type) |
Modifier and Type | Method | Description |
---|---|---|
Sandstone |
clone() |
|
SandstoneType |
getType() |
Gets the current type of this sandstone
|
void |
setType(SandstoneType type) |
Sets the type of this sandstone
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Sandstone()
public Sandstone(SandstoneType type)
@Deprecated public Sandstone(int type)
type
- the raw type idpublic Sandstone(Material type)
@Deprecated public Sandstone(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Sandstone(Material type, byte data)
type
- the typedata
- the raw data valuepublic SandstoneType getType()
public void setType(SandstoneType type)
type
- New type of this sandstonepublic java.lang.String toString()
toString
in class MaterialData
public Sandstone clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.