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)
           
Sandstone(int type, byte data)
           
Sandstone(Material type)
           
Sandstone(Material type, byte data)
           
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

public Sandstone(int type)

Sandstone

public Sandstone(Material type)

Sandstone

public Sandstone(int type,
                 byte data)

Sandstone

public Sandstone(Material type,
                 byte data)
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.