Cloneable, Attachable, Directional, Redstonepublic 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
|
String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetFacinggetAttachedFace, setFacingDirectionpublic 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 SimpleAttachableMaterialDatapublic RedstoneTorch clone()
Copyright © 2020. All rights reserved.