java.lang.Cloneable
, Attachable
, Directional
, Redstone
public class RedstoneTorch extends Torch implements Redstone
Constructor | 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 | Description |
---|---|---|
RedstoneTorch |
clone() |
|
boolean |
isPowered() |
Gets the current state of this Material, indicating if it's powered or
unpowered
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getFacing
getAttachedFace, setFacingDirection
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 java.lang.String toString()
toString
in class SimpleAttachableMaterialData
public RedstoneTorch clone()
Copyright © 2018. All rights reserved.