类 Stairs
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Stairs
- 所有已实现的接口:
Cloneable,Directional
已过时。
代表楼梯。
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。已过时。已过时。获取此方块的朝向.boolean已过时。测试台阶是否倒置。voidsetFacingDirection(BlockFace face) 已过时。设置方块楼梯部分朝向的方向。voidsetInverted(boolean inv) 已过时。设置台阶的倒置状态。toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Stairs
已过时。 -
Stairs
已过时。魔法值原文:Magic value
- 参数:
type- 物品类型data- 原始数据值
-
-
方法详细资料
-
getAscendingDirection
已过时。- 返回:
- 楼梯上升朝向的方向
原文:the direction the stairs ascend towards
-
getDescendingDirection
已过时。- 返回:
- 楼梯下降朝向的方向
原文:the direction the stairs descend towards
-
setFacingDirection
已过时。设置方块楼梯部分朝向的方向。原文:Set the direction the stair part of the block is facing
- 指定者:
setFacingDirection在接口中Directional- 参数:
face- 朝向
-
getFacing
已过时。从接口复制的说明:Directional获取此方块的朝向.原文: Gets the direction this block is facing
- 指定者:
getFacing在接口中Directional- 返回:
- 方块楼梯部分朝向的方向
原文:the direction the stair part of the block is facing
-
isInverted
public boolean isInverted()已过时。测试台阶是否倒置。- 返回:
- 如果倒置(上半部分)则返回 true,如果正常(下半部分)则返回 false
原文:Test if step is inverted
-
setInverted
public void setInverted(boolean inv) 已过时。设置台阶的倒置状态。- 参数:
inv- - 如果台阶倒置(上半部分)则为 true,如果台阶正常(下半部分)则为 false原文:Set step inverted state
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。