public class Ladder extends SimpleAttachableMaterialData
| 构造器和说明 |
|---|
Ladder() |
Ladder(int type)
已过时。
不安全的参数
|
Ladder(int type,
byte data)
已过时。
不安全的参数
|
Ladder(Material type) |
Ladder(Material type,
byte data)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
Ladder |
clone() |
BlockFace |
getAttachedFace()
获取这个方块附着的方向.
|
void |
setFacingDirection(BlockFace face)
设置这个梯子的朝向.
|
getFacing, toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic 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()
原文:Gets the face that this block is attached on
public void setFacingDirection(BlockFace face)
原文:Sets the direction this ladder is facing
face - 这个方块的朝向public Ladder clone()
clone 在类中 SimpleAttachableMaterialData