Cloneable, Attachable, DirectionalRedstoneTorchBlockData.@Deprecated public class Torch extends SimpleAttachableMaterialData
| Constructor | Description | 
|---|---|
Torch() | 
 Deprecated.  
  | 
Torch(Material type) | 
 Deprecated.  
  | 
Torch(Material type,
     byte data) | 
 Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
Torch | 
clone() | 
 Deprecated.  
  | 
BlockFace | 
getAttachedFace() | 
 Deprecated.  
Gets the face that this block is attached on 
 | 
void | 
setFacingDirection(BlockFace face) | 
 Deprecated.  
Sets the direction that this block is facing in 
 | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetFacing, toStringpublic Torch()
public Torch(Material type)
@Deprecated public Torch(Material type, byte data)
type - the typedata - the raw data valuepublic BlockFace getAttachedFace()
public void setFacingDirection(BlockFace face)
Directionalface - The facing directionpublic Torch clone()
clone in class SimpleAttachableMaterialDataCopyright © 2019. All rights reserved.