Package org.bukkit.material
Class Torch
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Torch
- All Implemented Interfaces:
 Cloneable,Attachable,Directional
- Direct Known Subclasses:
 RedstoneTorch
Deprecated, for removal: This API element is subject to removal in a future version.
MaterialData for torches
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onvoidsetFacingDirection(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction that this block is facing inMethods inherited from class org.bukkit.material.SimpleAttachableMaterialData
getFacing, toStringMethods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack 
- 
Constructor Details
- 
Torch
public Torch()Deprecated, for removal: This API element is subject to removal in a future version. - 
Torch
Deprecated, for removal: This API element is subject to removal in a future version. - 
Torch
Deprecated.Magic value- Parameters:
 type- the typedata- the raw data value
 
 - 
 - 
Method Details
- 
getAttachedFace
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached on- Returns:
 - BlockFace attached to
 
 - 
setFacingDirection
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DirectionalSets the direction that this block is facing in- Parameters:
 face- The facing direction
 - 
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 clonein classSimpleAttachableMaterialData
 
 - 
 
BlockData.