Package org.bukkit.material
Class Sandstone
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Sandstone
-
- All Implemented Interfaces:
Cloneable
@Deprecated public class Sandstone extends MaterialData
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.Represents the different types of sandstone.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Sandstone
clone()
Deprecated.SandstoneType
getType()
Deprecated.Gets the current type of this sandstonevoid
setType(SandstoneType type)
Deprecated.Sets the type of this sandstoneString
toString()
Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
Sandstone
public Sandstone()
Deprecated.
-
Sandstone
public Sandstone(SandstoneType type)
Deprecated.
-
Sandstone
public Sandstone(Material type)
Deprecated.
-
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()
Deprecated.Gets the current type of this sandstone- Returns:
- SandstoneType of this sandstone
-
setType
public void setType(SandstoneType type)
Deprecated.Sets the type of this sandstone- Parameters:
type
- New type of this sandstone
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
public Sandstone clone()
Deprecated.- Overrides:
clone
in classMaterialData
-
-