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.
MaterialData for torches
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets the face that this block is attached onvoidsetFacingDirection(BlockFace face) Deprecated.Sets the direction that this block is facing inMethods inherited from class org.bukkit.material.SimpleAttachableMaterialDatagetFacing, toStringMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Torchpublic Torch()Deprecated.
- 
TorchDeprecated.
- 
TorchDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getAttachedFaceDeprecated.Gets the face that this block is attached on- Returns:
- BlockFace attached to
 
- 
setFacingDirectionDeprecated.Description copied from interface:DirectionalSets the direction that this block is facing in- Parameters:
- face- The facing direction
 
- 
cloneDeprecated.- Overrides:
- clonein class- SimpleAttachableMaterialData
 
 
- 
BlockData.