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

Represents the different types of smooth bricks. More...

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

Public Member Functions

 SmoothBrick ()
 
 SmoothBrick (final int type)
 
 SmoothBrick (final Material type)
 
 SmoothBrick (final int type, final byte data)
 
 SmoothBrick (final Material type, final byte data)
 
List< MaterialgetTextures ()
 Retrieve a list of possible textures.
 
SmoothBrick clone ()
 
- Public Member Functions inherited from org.bukkit.material.TexturedMaterial
 TexturedMaterial (Material m)
 
 TexturedMaterial (int type)
 
 TexturedMaterial (final int type, final byte data)
 
 TexturedMaterial (final Material type, final byte data)
 
Material getMaterial ()
 Gets the current Material this block is made of.
 
void setMaterial (Material material)
 Sets the material this block is made of.
 
String toString ()
 
TexturedMaterial 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.bukkit.material.TexturedMaterial
int getTextureIndex ()
 Get material index from data.
 
void setTextureIndex (int idx)
 Set material index.
 

Detailed Description

Represents the different types of smooth bricks.

Definition at line 11 of file SmoothBrick.java.

Constructor & Destructor Documentation

org.bukkit.material.SmoothBrick.SmoothBrick ( )

Definition at line 21 of file SmoothBrick.java.

References org.bukkit.Material.SMOOTH_BRICK.

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

Definition at line 25 of file SmoothBrick.java.

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

Definition at line 36 of file SmoothBrick.java.

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

Definition at line 40 of file SmoothBrick.java.

Member Function Documentation

SmoothBrick org.bukkit.material.SmoothBrick.clone ( )
List<Material> org.bukkit.material.SmoothBrick.getTextures ( )
virtual

Retrieve a list of possible textures.

The first element of the list will be used as a default.

Returns
a list of possible textures for this block

Implements org.bukkit.material.TexturedMaterial.

Definition at line 45 of file SmoothBrick.java.


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