Cloneable
, Attachable
, Directional
public class Ladder extends SimpleAttachableMaterialData
Constructor | Description |
---|---|
Ladder() |
|
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, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getFacing, toString
public Ladder()
public Ladder(Material type)
@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 © 2020. All rights reserved.