|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.SimpleAttachableMaterialData org.bukkit.material.Torch
public class Torch
MaterialData for torches
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class org.bukkit.material.SimpleAttachableMaterialData |
---|
getFacing, toString |
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Torch()
@Deprecated public Torch(int type)
public Torch(Material type)
@Deprecated public Torch(int type, byte data)
@Deprecated public Torch(Material type, byte data)
Method Detail |
---|
public BlockFace getAttachedFace()
public void setFacingDirection(BlockFace face)
Directional
face
- The facing directionpublic Torch clone()
clone
in class SimpleAttachableMaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |