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, setFacingDirection
getFacing
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public 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 SimpleAttachableMaterialData
public RedstoneTorch clone()
Copyright © 2016. All rights reserved.