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

Represents a fence gate. More...

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

Public Member Functions

 Gate ()
 
 Gate (int type, byte data)
 
 Gate (byte data)
 
void setFacingDirection (BlockFace face)
 
BlockFace getFacing ()
 
boolean isOpen ()
 
void setOpen (boolean isOpen)
 
String toString ()
 
Gate 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.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 fence gate.

Definition at line 9 of file Gate.java.

Constructor & Destructor Documentation

org.bukkit.material.Gate.Gate ( )

Definition at line 17 of file Gate.java.

References org.bukkit.Material.FENCE_GATE.

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

Definition at line 21 of file Gate.java.

org.bukkit.material.Gate.Gate ( byte  data)

Definition at line 25 of file Gate.java.

References org.bukkit.Material.FENCE_GATE.

Member Function Documentation

Gate org.bukkit.material.Gate.clone ( )

Definition at line 88 of file Gate.java.

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

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

boolean org.bukkit.material.Gate.isOpen ( )

Definition at line 66 of file Gate.java.

References org.bukkit.material.MaterialData.getData().

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

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

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