java.lang.Cloneable
public class Sandstone extends MaterialData
Constructor | Description |
---|---|
Sandstone() |
|
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, hashCode, setData, toItemStack, toItemStack
public Sandstone()
public Sandstone(SandstoneType type)
public Sandstone(Material type)
@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.