Package org.bukkit.material
Class Sandstone
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Sandstone
-
- All Implemented Interfaces:
Cloneable
public class Sandstone extends MaterialData
Represents the different types of sandstone.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sandstoneclone()SandstoneTypegetType()Gets the current type of this sandstonevoidsetType(SandstoneType type)Sets the type of this sandstoneStringtoString()-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
Sandstone
public Sandstone()
-
Sandstone
public Sandstone(SandstoneType type)
-
Sandstone
public Sandstone(Material type)
-
Sandstone
@Deprecated public Sandstone(Material type, byte data)
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Detail
-
getType
public SandstoneType getType()
Gets the current type of this sandstone- Returns:
- SandstoneType of this sandstone
-
setType
public void setType(SandstoneType type)
Sets the type of this sandstone- Parameters:
type- New type of this sandstone
-
toString
public String toString()
- Overrides:
toStringin classMaterialData
-
clone
public Sandstone clone()
- Overrides:
clonein classMaterialData
-
-