|
||||||||||
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.Ladder
public class Ladder
Represents Ladder data
Constructor Summary | |
---|---|
Ladder()
|
|
Ladder(int type)
Deprecated. Magic value |
|
Ladder(int type,
byte data)
Deprecated. Magic value |
|
Ladder(Material type)
|
|
Ladder(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Ladder |
clone()
|
BlockFace |
getAttachedFace()
Gets the face that this block is attached on |
void |
setFacingDirection(BlockFace face)
Sets the direction this ladder is facing |
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 Ladder()
@Deprecated public Ladder(int type)
public Ladder(Material type)
@Deprecated public Ladder(int type, byte data)
@Deprecated public Ladder(Material type, byte data)
Method Detail |
---|
public BlockFace getAttachedFace()
public void setFacingDirection(BlockFace face)
face
- The facing directionpublic Ladder clone()
clone
in class SimpleAttachableMaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |