org.bukkit.material
Class Sandstone

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.Sandstone
All Implemented Interfaces:
Cloneable

public class Sandstone
extends MaterialData

Represents the different types of sandstone.


Constructor Summary
Sandstone()
           
Sandstone(int type)
          Deprecated. Magic value
Sandstone(int type, byte data)
          Deprecated. Magic value
Sandstone(Material type)
           
Sandstone(Material type, byte data)
          Deprecated. Magic value
Sandstone(SandstoneType type)
           
 
Method Summary
 Sandstone clone()
           
 SandstoneType getType()
          Gets the current type of this sandstone
 void setType(SandstoneType type)
          Sets the type of this sandstone
 String toString()
           
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sandstone

public Sandstone()

Sandstone

public Sandstone(SandstoneType type)

Sandstone

@Deprecated
public Sandstone(int type)
Deprecated. Magic value


Sandstone

public Sandstone(Material type)

Sandstone

@Deprecated
public Sandstone(int type,
                            byte data)
Deprecated. Magic value


Sandstone

@Deprecated
public Sandstone(Material type,
                            byte data)
Deprecated. Magic 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:
toString in class MaterialData

clone

public Sandstone clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.