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

Represents a trap door. More...

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

Public Member Functions

 TrapDoor ()
 
 TrapDoor (final int type)
 
 TrapDoor (final Material type)
 
 TrapDoor (final int type, final byte data)
 
 TrapDoor (final Material type, final byte data)
 
boolean isOpen ()
 
void setOpen (boolean isOpen)
 
BlockFace getAttachedFace ()
 
void setFacingDirection (BlockFace face)
 
String toString ()
 
TrapDoor clone ()
 
- Public Member Functions inherited from org.bukkit.material.SimpleAttachableMaterialData
 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.
 
- Public Member Functions inherited from org.bukkit.material.Openable
boolean isOpen ()
 Check to see if the door is open.
 
void setOpen (boolean isOpen)
 Configure this door to be either open or closed;.
 

Detailed Description

Represents a trap door.

Definition at line 9 of file TrapDoor.java.

Constructor & Destructor Documentation

org.bukkit.material.TrapDoor.TrapDoor ( )

Definition at line 10 of file TrapDoor.java.

References org.bukkit.Material.TRAP_DOOR.

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

Definition at line 14 of file TrapDoor.java.

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

Definition at line 18 of file TrapDoor.java.

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

Definition at line 22 of file TrapDoor.java.

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

Definition at line 26 of file TrapDoor.java.

Member Function Documentation

TrapDoor org.bukkit.material.TrapDoor.clone ( )

Definition at line 91 of file TrapDoor.java.

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

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

boolean org.bukkit.material.TrapDoor.isOpen ( )
void org.bukkit.material.TrapDoor.setFacingDirection ( BlockFace  face)
void org.bukkit.material.TrapDoor.setOpen ( boolean  isOpen)
String org.bukkit.material.TrapDoor.toString ( )

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