Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.material.Sandstone Class Reference

Represents the different types of sandstone. More...

+ Inheritance diagram for org.bukkit.material.Sandstone:
+ Collaboration diagram for org.bukkit.material.Sandstone:

Public Member Functions

 Sandstone ()
 
 Sandstone (SandstoneType type)
 
 Sandstone (final int type)
 
 Sandstone (final Material type)
 
 Sandstone (final int type, final byte data)
 
 Sandstone (final Material type, final byte data)
 
SandstoneType getType ()
 Gets the current type of this sandstone.
 
void setType (SandstoneType type)
 Sets the type of this sandstone.
 
String toString ()
 
Sandstone clone ()
 
- Public Member Functions inherited from org.bukkit.material.MaterialData
 MaterialData (final int type)
 
 MaterialData (final Material type)
 
 MaterialData (final int type, final byte data)
 
 MaterialData (final Material type, final byte data)
 
byte getData ()
 Gets the raw data in this material.
 
void setData (byte data)
 Sets the raw data of this material.
 
Material getItemType ()
 Gets the Material that this MaterialData represents.
 
int getItemTypeId ()
 Gets the Material Id that this MaterialData represents.
 
ItemStack toItemStack ()
 Creates a new ItemStack based on this MaterialData.
 
ItemStack toItemStack (int amount)
 Creates a new ItemStack based on this MaterialData.
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
MaterialData clone ()
 

Detailed Description

Represents the different types of sandstone.

Definition at line 9 of file Sandstone.java.

Constructor & Destructor Documentation

org.bukkit.material.Sandstone.Sandstone ( )

Definition at line 10 of file Sandstone.java.

References org.bukkit.Material.SANDSTONE.

org.bukkit.material.Sandstone.Sandstone ( SandstoneType  type)

Definition at line 14 of file Sandstone.java.

References org.bukkit.material.Sandstone.setType().

org.bukkit.material.Sandstone.Sandstone ( final int  type)

Definition at line 19 of file Sandstone.java.

org.bukkit.material.Sandstone.Sandstone ( final Material  type)

Definition at line 23 of file Sandstone.java.

org.bukkit.material.Sandstone.Sandstone ( final int  type,
final byte  data 
)

Definition at line 27 of file Sandstone.java.

org.bukkit.material.Sandstone.Sandstone ( final Material  type,
final byte  data 
)

Definition at line 31 of file Sandstone.java.

Member Function Documentation

Sandstone org.bukkit.material.Sandstone.clone ( )

Definition at line 59 of file Sandstone.java.

References org.bukkit.material.Sandstone.clone().

Referenced by org.bukkit.material.Sandstone.clone().

SandstoneType org.bukkit.material.Sandstone.getType ( )

Gets the current type of this sandstone.

Returns
SandstoneType of this sandstone

Definition at line 40 of file Sandstone.java.

References org.bukkit.SandstoneType.getByData(), and org.bukkit.material.MaterialData.getData().

Referenced by org.bukkit.material.Sandstone.toString().

void org.bukkit.material.Sandstone.setType ( SandstoneType  type)

Sets the type of this sandstone.

Parameters
typeNew type of this sandstone

Definition at line 49 of file Sandstone.java.

References org.bukkit.SandstoneType.getData(), and org.bukkit.material.MaterialData.setData().

Referenced by org.bukkit.material.Sandstone.Sandstone().

String org.bukkit.material.Sandstone.toString ( )

Definition at line 54 of file Sandstone.java.

References org.bukkit.material.Sandstone.getType().


The documentation for this class was generated from the following file: