类 Observer
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Observer
- 所有已实现的接口:
Cloneable
,Directional
,Redstone
Represents an observer.
-
构造器概要
-
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Observer
public Observer() -
Observer
-
Observer
已过时。Magic value- 参数:
type
- the raw type id
-
Observer
-
Observer
已过时。Magic value- 参数:
type
- the raw type iddata
- the raw data value
-
Observer
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
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
-