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