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 Sandstone
clone()
SandstoneType
getType()
Gets the current type of this sandstonevoid
setType(SandstoneType type)
Sets the type of this sandstonejava.lang.String
toString()
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:
toString
in classMaterialData
-
clone
- Overrides:
clone
in classMaterialData
-