Cloneable
BlockData
.@Deprecated public class Tripwire extends MaterialData
Constructor | Description |
---|---|
Tripwire() |
Deprecated.
|
Tripwire(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Tripwire |
clone() |
Deprecated.
|
boolean |
isActivated() |
Deprecated.
Test if tripwire is currently activated
|
boolean |
isObjectTriggering() |
Deprecated.
Test if object triggering this tripwire directly
|
void |
setActivated(boolean act) |
Deprecated.
Set tripwire activated state
|
void |
setObjectTriggering(boolean trig) |
Deprecated.
Set object triggering state for this tripwire
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Tripwire()
@Deprecated public Tripwire(Material type, byte data)
type
- the typedata
- 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
in class MaterialData
public String toString()
toString
in class MaterialData
Copyright © 2020. All rights reserved.