public class RedstoneTorch extends Torch implements Redstone
| Constructor and Description |
|---|
RedstoneTorch() |
RedstoneTorch(int type)
Deprecated.
Magic value
|
RedstoneTorch(int type,
byte data)
Deprecated.
Magic value
|
RedstoneTorch(Material type) |
RedstoneTorch(Material type,
byte data)
Deprecated.
Magic value
|
| Modifier and Type | Method and Description |
|---|---|
RedstoneTorch |
clone() |
boolean |
isPowered()
Gets the current state of this Material, indicating if it's powered or
unpowered
|
String |
toString() |
getAttachedFace, setFacingDirectiongetFacingequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic RedstoneTorch()
@Deprecated public RedstoneTorch(int type)
type - the raw type idpublic RedstoneTorch(Material type)
@Deprecated public RedstoneTorch(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public RedstoneTorch(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
public String toString()
toString in class SimpleAttachableMaterialDatapublic RedstoneTorch clone()
Copyright © 2015. All rights reserved.