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