类 Observer
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Observer
- 所有已实现的接口:
Cloneable,Directional,Redstone
@Deprecated(since="1.14.1")
public class Observer
extends MaterialData
implements Directional, Redstone
已过时。
代表一个侦测器。
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Observer
public Observer()已过时。 -
Observer
已过时。 -
Observer
已过时。 -
Observer
已过时。魔法值- 参数:
type- 类型data- 原始数据值
-
-
方法详细资料
-
isPowered
public boolean isPowered()已过时。从接口复制的说明:Redstone获取此材料的当前状态, 表示其是否被充能.原文: Gets the current state of this Material, indicating if it's powered or unpowered
-
setFacingDirection
已过时。从接口复制的说明:Directional设置此方块的朝向.原文: Sets the direction that this block is facing in
- 指定者:
setFacingDirection在接口中Directional- 参数:
face- 朝向
-
getFacing
已过时。从接口复制的说明:Directional获取此方块的朝向.原文: Gets the direction this block is facing
- 指定者:
getFacing在接口中Directional- 返回:
- 此方块的朝向
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。