|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.Tripwire
public class Tripwire
Represents the tripwire
| Constructor Summary | |
|---|---|
Tripwire()
|
|
Tripwire(int type)
|
|
Tripwire(int type,
byte data)
|
|
| Method Summary | |
|---|---|
Tripwire |
clone()
|
boolean |
isActivated()
Test if tripwire is currently activated |
boolean |
isObjectTriggering()
Test if object triggering this tripwire directly |
void |
setActivated(boolean act)
Set tripwire activated state |
void |
setObjectTriggering(boolean trig)
Set object triggering state for this tripwire |
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 Tripwire()
public Tripwire(int type)
public Tripwire(int type,
byte data)
| Method Detail |
|---|
public boolean isActivated()
public void setActivated(boolean act)
act - - true if activated, false if notpublic boolean isObjectTriggering()
public void setObjectTriggering(boolean trig)
trig - - true if object activating tripwire, false if notpublic Tripwire clone()
clone in class MaterialDatapublic String toString()
toString in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||