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
public class Torch
- extends SimpleAttachableMaterialData
MaterialData for torches
Torch
public Torch()
Torch
public Torch(int type)
Torch
public Torch(Material type)
Torch
public Torch(int type,
byte data)
Torch
public Torch(Material type,
byte data)
getAttachedFace
public BlockFace getAttachedFace()
- Gets the face that this block is attached on
- Returns:
- BlockFace attached to
setFacingDirection
public void setFacingDirection(BlockFace face)
- Description copied from interface:
Directional
- Sets the direction that this block is facing in
- Parameters:
face
- The facing direction
clone
public Torch clone()
- Overrides:
clone
in class SimpleAttachableMaterialData
Copyright © 2013. All Rights Reserved.