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

Represents redstone wire. More...

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

Public Member Functions

 RedstoneWire ()
 
 RedstoneWire (final int type)
 
 RedstoneWire (final Material type)
 
 RedstoneWire (final int type, final byte data)
 
 RedstoneWire (final Material type, final byte data)
 
boolean isPowered ()
 Gets the current state of this Material, indicating if it's powered or unpowered.
 
String toString ()
 
RedstoneWire 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.Redstone
boolean isPowered ()
 Gets the current state of this Material, indicating if it's powered or unpowered.
 

Detailed Description

Represents redstone wire.

Definition at line 8 of file RedstoneWire.java.

Constructor & Destructor Documentation

org.bukkit.material.RedstoneWire.RedstoneWire ( )

Definition at line 9 of file RedstoneWire.java.

References org.bukkit.Material.REDSTONE_WIRE.

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

Definition at line 13 of file RedstoneWire.java.

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

Definition at line 17 of file RedstoneWire.java.

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

Definition at line 21 of file RedstoneWire.java.

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

Definition at line 25 of file RedstoneWire.java.

Member Function Documentation

RedstoneWire org.bukkit.material.RedstoneWire.clone ( )
boolean org.bukkit.material.RedstoneWire.isPowered ( )

Gets the current state of this Material, indicating if it's powered or unpowered.

Returns
true if powered, otherwise false

Definition at line 35 of file RedstoneWire.java.

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

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

String org.bukkit.material.RedstoneWire.toString ( )

Definition at line 40 of file RedstoneWire.java.

References org.bukkit.material.RedstoneWire.isPowered().


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