public class Ladder extends SimpleAttachableMaterialData
| Constructor and Description | 
|---|
Ladder()  | 
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, toStringequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic 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 SimpleAttachableMaterialDataCopyright © 2022. All rights reserved.