Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.material.Diode Class Reference
+ Inheritance diagram for org.bukkit.material.Diode:
+ Collaboration diagram for org.bukkit.material.Diode:

Public Member Functions

 Diode ()
 
 Diode (int type)
 
 Diode (Material type)
 
 Diode (int type, byte data)
 
 Diode (Material type, byte data)
 
void setDelay (int delay)
 Sets the delay of the repeater.
 
int getDelay ()
 Gets the delay of the repeater in ticks.
 
void setFacingDirection (BlockFace face)
 
BlockFace getFacing ()
 
String toString ()
 
Diode 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.
 

Detailed Description

Definition at line 6 of file Diode.java.

Constructor & Destructor Documentation

org.bukkit.material.Diode.Diode ( )

Definition at line 7 of file Diode.java.

References org.bukkit.Material.DIODE_BLOCK_ON.

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

Definition at line 11 of file Diode.java.

org.bukkit.material.Diode.Diode ( Material  type)

Definition at line 15 of file Diode.java.

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

Definition at line 19 of file Diode.java.

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

Definition at line 23 of file Diode.java.

Member Function Documentation

Diode org.bukkit.material.Diode.clone ( )

Definition at line 105 of file Diode.java.

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

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

int org.bukkit.material.Diode.getDelay ( )

Gets the delay of the repeater in ticks.

Returns
The delay (1-4)

Definition at line 50 of file Diode.java.

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

Referenced by org.bukkit.material.Diode.setFacingDirection(), and org.bukkit.material.Diode.toString().

void org.bukkit.material.Diode.setDelay ( int  delay)

Sets the delay of the repeater.

Parameters
delayThe new delay (1-4)

Definition at line 33 of file Diode.java.

References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().

Referenced by org.bukkit.material.Diode.setFacingDirection().

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

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