类 DetectorRail
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
org.bukkit.material.DetectorRail
- 所有已实现的接口:
Cloneable,PressureSensor
代表探测铁轨
-
构造器概要
构造器构造器说明DetectorRail(int type) 已过时。不安全的参数DetectorRail(int type, byte data) 已过时。不安全的参数DetectorRail(Material type) DetectorRail(Material type, byte data) 已过时。不安全的参数 -
方法概要
从类继承的方法 org.bukkit.material.ExtendedRails
getConvertedData, isCurve, setDirection从类继承的方法 org.bukkit.material.Rails
getDirection, isOnSlope, toString从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
DetectorRail
public DetectorRail() -
DetectorRail
已过时。不安全的参数- 参数:
type- the raw type id
-
DetectorRail
-
DetectorRail
已过时。不安全的参数- 参数:
type- the raw type iddata- the raw data value
-
DetectorRail
已过时。不安全的参数- 参数:
type- the typedata- the raw data value
-
-
方法详细资料
-
isPressed
public boolean isPressed()- 指定者:
isPressed在接口中PressureSensor
-
setPressed
public void setPressed(boolean isPressed) -
clone
- 覆盖:
clone在类中ExtendedRails
-