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 public class Torch extends SimpleAttachableMaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData.MaterialData for torches
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Torchclone()Deprecated.BlockFacegetAttachedFace()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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
getAttachedFace
Deprecated.Gets the face that this block is attached on- Returns:
- BlockFace attached to
-
setFacingDirection
Deprecated.Description copied from interface:DirectionalSets the direction that this block is facing in- Parameters:
face- The facing direction
-
clone
Deprecated.- Overrides:
clonein classSimpleAttachableMaterialData
-