java.lang.Cloneable
, Attachable
, Directional
, Redstone
public class RedstoneTorch extends Torch implements Redstone
Constructor | Description |
---|---|
RedstoneTorch() |
|
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, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getFacing
getAttachedFace, setFacingDirection
public RedstoneTorch()
public RedstoneTorch(Material type)
@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.