|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Diode
public class Diode
Constructor Summary | |
---|---|
Diode()
|
|
Diode(int type)
Deprecated. Magic value |
|
Diode(int type,
byte data)
Deprecated. Magic value |
|
Diode(Material type)
|
|
Diode(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Diode |
clone()
|
int |
getDelay()
Gets the delay of the repeater in ticks |
BlockFace |
getFacing()
Gets the direction this block is facing |
void |
setDelay(int delay)
Sets the delay of the repeater |
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in |
String |
toString()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Diode()
@Deprecated public Diode(int type)
public Diode(Material type)
@Deprecated public Diode(int type, byte data)
@Deprecated public Diode(Material type, byte data)
Method Detail |
---|
public void setDelay(int delay)
delay
- The new delay (1-4)public int getDelay()
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
in interface Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
in interface Directional
public String toString()
toString
in class MaterialData
public Diode clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |