类 Button
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Button
- 所有已实现的接口:
Cloneable
,Attachable
,Directional
,Redstone
已过时。
Represents a button
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the face that this block is attached onboolean
已过时。Gets the current state of this Material, indicating if it's powered or unpoweredvoid
setFacingDirection
(BlockFace face) 已过时。Sets the direction this button is pointing towardvoid
setPowered
(boolean bool) 已过时。Sets the current state of this buttontoString()
已过时。从类继承的方法 org.bukkit.material.SimpleAttachableMaterialData
getFacing
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Button
public Button()已过时。 -
Button
已过时。 -
Button
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
isPowered
public boolean isPowered()已过时。Gets the current state of this Material, indicating if it's powered or unpowered -
setPowered
public void setPowered(boolean bool) 已过时。Sets the current state of this button- 参数:
bool
- whether or not the button is powered
-
getAttachedFace
已过时。Gets the face that this block is attached on- 指定者:
getAttachedFace
在接口中Attachable
- 返回:
- BlockFace attached to
-
setFacingDirection
已过时。Sets the direction this button is pointing toward- 指定者:
setFacingDirection
在接口中Directional
- 参数:
face
- The facing direction
-
toString
已过时。- 覆盖:
toString
在类中SimpleAttachableMaterialData
-
clone
已过时。- 覆盖:
clone
在类中SimpleAttachableMaterialData
-
BlockData
.