类 PoweredRail
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
org.bukkit.material.PoweredRail
已过时。
代表一个动力铁轨
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。boolean已过时。获取此材料的当前状态, 表示其是否被充能.voidsetPowered(boolean isPowered) 已过时。设置此动力铁轨是否应该通电。从类继承的方法 org.bukkit.material.ExtendedRails
getConvertedData, isCurve, setDirection从类继承的方法 org.bukkit.material.Rails
getDirection, isOnSlope, toString从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
PoweredRail
public PoweredRail()已过时。 -
PoweredRail
已过时。 -
PoweredRail
已过时。魔法值- 参数:
type- 类型data- 原始数据值
-
-
方法详细资料
-
isPowered
public boolean isPowered()已过时。从接口复制的说明:Redstone获取此材料的当前状态, 表示其是否被充能.原文: Gets the current state of this Material, indicating if it's powered or unpowered
-
setPowered
public void setPowered(boolean isPowered) 已过时。设置此动力铁轨是否应该通电。- 参数:
isPowered- 铁轨是否通电原文:Set whether this PoweredRail should be powered or not.
-
clone
已过时。- 覆盖:
clone在类中ExtendedRails
-
BlockData。