public class Ladder extends SimpleAttachableMaterialData
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
Ladder |
clone() |
BlockFace |
getAttachedFace()
Gets the face that this block is attached on
|
void |
setFacingDirection(BlockFace face)
Sets the direction this ladder is facing
|
getFacing, toString
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Ladder()
@Deprecated public Ladder(int type)
type
- the raw type idpublic Ladder(Material type)
@Deprecated public Ladder(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Ladder(Material type, byte data)
type
- the typedata
- the raw data valuepublic BlockFace getAttachedFace()
public void setFacingDirection(BlockFace face)
face
- The facing directionpublic Ladder clone()
clone
in class SimpleAttachableMaterialData
Copyright © 2015. All rights reserved.