public class Tripwire extends MaterialData
| コンストラクタと説明 |
|---|
Tripwire() |
Tripwire(int type)
非推奨です。
Magic value
|
Tripwire(int type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Tripwire()
@Deprecated public Tripwire(int type)
type - the raw type id@Deprecated public Tripwire(int type, byte data)
type - the raw type iddata - the raw data valuepublic 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 クラス内 MaterialDatapublic String toString()
toString クラス内 MaterialDataCopyright © 2016. All rights reserved.