类 PistonExtensionMaterial
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.PistonExtensionMaterial
- 所有已实现的接口:
Cloneable
,Attachable
,Directional
已过时。
Material data for the piston extension block
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the face that this block is attached on已过时。Gets the direction this block is facingboolean
isSticky()
已过时。Checks if this piston extension is sticky, and returns true if sovoid
setFacingDirection
(BlockFace face) 已过时。Sets the direction that this block is facing invoid
setSticky
(boolean sticky) 已过时。Sets whether or not this extension is sticky从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack, toString
-
构造器详细资料
-
PistonExtensionMaterial
已过时。 -
PistonExtensionMaterial
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
setFacingDirection
已过时。从接口复制的说明:Directional
Sets the direction that this block is facing in- 指定者:
setFacingDirection
在接口中Directional
- 参数:
face
- The facing direction
-
getFacing
已过时。从接口复制的说明:Directional
Gets the direction this block is facing- 指定者:
getFacing
在接口中Directional
- 返回:
- the direction this block is facing
-
isSticky
public boolean isSticky()已过时。Checks if this piston extension is sticky, and returns true if so- 返回:
- true if this piston is "sticky", or false
-
setSticky
public void setSticky(boolean sticky) 已过时。Sets whether or not this extension is sticky- 参数:
sticky
- true if sticky, otherwise false
-
getAttachedFace
已过时。从接口复制的说明:Attachable
Gets the face that this block is attached on- 指定者:
getAttachedFace
在接口中Attachable
- 返回:
- BlockFace attached to
-
clone
已过时。- 覆盖:
clone
在类中MaterialData
-
BlockData
.