java.lang.Cloneable
, Attachable
, Directional
public class Ladder extends SimpleAttachableMaterialData
Constructor | 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 | 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
|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getFacing, toString
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 © 2018. All rights reserved.