Cloneable
, Attachable
, Directional
, Redstone
@Deprecated public class RedstoneTorch extends Torch implements Redstone
BlockData
.Constructor | Description |
---|---|
RedstoneTorch() |
Deprecated.
|
RedstoneTorch(Material type) |
Deprecated.
|
RedstoneTorch(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
RedstoneTorch |
clone() |
Deprecated.
|
boolean |
isPowered() |
Deprecated.
Gets the current state of this Material, indicating if it's powered or
unpowered
|
String |
toString() |
Deprecated.
|
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 String toString()
toString
in class SimpleAttachableMaterialData
public RedstoneTorch clone()
Copyright © 2020. All rights reserved.