类 Ladder
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Ladder
- 所有已实现的接口:
Cloneable
,Attachable
,Directional
代表梯子
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.SimpleAttachableMaterialData
getFacing, toString
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Ladder
public Ladder() -
Ladder
已过时。不安全的参数- 参数:
type
- the raw type id
-
Ladder
-
Ladder
已过时。不安全的参数- 参数:
type
- the raw type iddata
- the raw data value
-
Ladder
已过时。不安全的参数- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
getAttachedFace
获取这个方块附着的方向.原文:Gets the face that this block is attached on
- 返回:
- 附着的方向
-
setFacingDirection
设置这个梯子的朝向.原文:Sets the direction this ladder is facing
- 参数:
face
- 这个方块的朝向
-
clone
- 覆盖:
clone
在类中SimpleAttachableMaterialData
-