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

MaterialData for signs. More...

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

Public Member Functions

 Sign ()
 
 Sign (final int type)
 
 Sign (final Material type)
 
 Sign (final int type, final byte data)
 
 Sign (final Material type, final byte data)
 
boolean isWallSign ()
 Check if this sign is attached to a wall.
 
BlockFace getAttachedFace ()
 Gets the face that this block is attached on.
 
BlockFace getFacing ()
 Gets the direction that this sign is currently facing.
 
void setFacingDirection (BlockFace face)
 
String toString ()
 
Sign 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

MaterialData for signs.

Definition at line 9 of file Sign.java.

Constructor & Destructor Documentation

org.bukkit.material.Sign.Sign ( )

Definition at line 10 of file Sign.java.

References org.bukkit.Material.SIGN_POST.

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

Definition at line 14 of file Sign.java.

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

Definition at line 18 of file Sign.java.

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

Definition at line 22 of file Sign.java.

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

Definition at line 26 of file Sign.java.

Member Function Documentation

Sign org.bukkit.material.Sign.clone ( )

Definition at line 232 of file Sign.java.

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

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

BlockFace org.bukkit.material.Sign.getAttachedFace ( )
boolean org.bukkit.material.Sign.isWallSign ( )

Check if this sign is attached to a wall.

Returns
true if this sign is attached to a wall, false if set on top of a block

Definition at line 36 of file Sign.java.

References org.bukkit.material.MaterialData.getItemType(), and org.bukkit.Material.WALL_SIGN.

Referenced by org.bukkit.material.Sign.getAttachedFace(), org.bukkit.material.Sign.getFacing(), and org.bukkit.material.Sign.setFacingDirection().

void org.bukkit.material.Sign.setFacingDirection ( BlockFace  face)
String org.bukkit.material.Sign.toString ( )

Definition at line 227 of file Sign.java.

References org.bukkit.material.Sign.getFacing().


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