类 ExtendedRails
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
- 所有已实现的接口:
Cloneable
- 直接已知子类:
DetectorRail,PoweredRail
已过时。
这是
DetectorRail 和 PoweredRail 类的父类。-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。protected byte已过时。魔法值booleanisCurve()已过时。voidsetDirection(BlockFace face, boolean isOnSlope) 已过时。设置这些铁轨的方向。从类继承的方法 org.bukkit.material.Rails
getDirection, isOnSlope, toString从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
ExtendedRails
已过时。 -
ExtendedRails
已过时。魔法值- 参数:
type- 材料类型data- 原始数据值
-
-
方法详细资料
-
isCurve
public boolean isCurve()已过时。 -
getConvertedData
已过时。魔法值- 覆盖:
getConvertedData在类中Rails- 返回:
- 不包含扩展部分的数据
-
setDirection
已过时。从类复制的说明:Rails设置这些铁轨的方向。注意铁轨是双向的,如果铁轨设置在斜坡上,返回的方向是上升方向。 如果设置为弯道,则应提供铁轨的拐角方向。
- 覆盖:
setDirection在类中Rails- 参数:
face- 铁轨应朝向的方向isOnSlope- 铁轨是否应设置在斜坡上原文:Set the direction of these tracks
原文:Note that tracks are bidirectional and that the direction returned is the ascending direction if the track is set on a slope. If it is set as a curve, the corner of the track should be supplied.
-
clone
已过时。
-
BlockData。