org.bukkit.material
public class Torch extends SimpleAttachableMaterialData
| Constructor and Description | 
|---|
Torch()  | 
Torch(int type)
Deprecated. 
 
Magic value 
 | 
Torch(int type,
     byte data)
Deprecated. 
 
Magic value 
 | 
Torch(Material type)  | 
Torch(Material type,
     byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Torch | 
clone()  | 
BlockFace | 
getAttachedFace()
Gets the face that this block is attached on 
 | 
void | 
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in 
 | 
getFacing, toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Torch()
@Deprecated public Torch(int type)
public Torch(Material type)
@Deprecated public Torch(int type, byte data)
@Deprecated public Torch(Material type, byte data)
public BlockFace getAttachedFace()
public void setFacingDirection(BlockFace face)
Directionalface - The facing directionpublic Torch clone()
clone in class SimpleAttachableMaterialDataCopyright © 2014. All rights reserved.