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

Simple utility class for attachable MaterialData subclasses. More...

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

Public Member Functions

 SimpleAttachableMaterialData (int type)
 
 SimpleAttachableMaterialData (int type, BlockFace direction)
 
 SimpleAttachableMaterialData (Material type, BlockFace direction)
 
 SimpleAttachableMaterialData (Material type)
 
 SimpleAttachableMaterialData (int type, byte data)
 
 SimpleAttachableMaterialData (Material type, byte data)
 
BlockFace getFacing ()
 
String toString ()
 
SimpleAttachableMaterialData 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 ()
 
- Public Member Functions inherited from org.bukkit.material.Attachable
BlockFace getAttachedFace ()
 Gets the face that this block is attached on.
 
- Public Member Functions inherited from org.bukkit.material.Directional
void setFacingDirection (BlockFace face)
 Sets the direction that this block is facing in.
 
BlockFace getFacing ()
 Gets the direction this block is facing.
 

Detailed Description

Simple utility class for attachable MaterialData subclasses.

Definition at line 9 of file SimpleAttachableMaterialData.java.

Constructor & Destructor Documentation

org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( int  type)

Definition at line 11 of file SimpleAttachableMaterialData.java.

org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( int  type,
BlockFace  direction 
)
org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( Material  type,
BlockFace  direction 
)
org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( Material  type)

Definition at line 25 of file SimpleAttachableMaterialData.java.

org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( int  type,
byte  data 
)

Definition at line 29 of file SimpleAttachableMaterialData.java.

org.bukkit.material.SimpleAttachableMaterialData.SimpleAttachableMaterialData ( Material  type,
byte  data 
)

Definition at line 33 of file SimpleAttachableMaterialData.java.

Member Function Documentation

SimpleAttachableMaterialData org.bukkit.material.SimpleAttachableMaterialData.clone ( )
String org.bukkit.material.SimpleAttachableMaterialData.toString ( )

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