接口 CreakingHeart
- 所有超级接口:
BlockData,Cloneable,Orientable
'creaking_heart_state' 表示方块当前的运行阶段.
'natural' 表示这是否是自然生成的方块.
'natural' 表示这是否是自然生成的方块.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明获取 'creaking_heart_state' 属性的值.booleanisActive()已过时。boolean获取 'natural' 属性的值.voidsetActive(boolean active) void设置 'creaking_heart_state' 属性的值.voidsetNatural(boolean natural) 设置 'natural' 属性的值.从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate从接口继承的方法 org.bukkit.block.data.Orientable
getAxes, getAxis, setAxis
-
方法详细资料
-
isActive
已过时。获取 'active' 属性的值.原文: Gets the value of the 'active' property.
- 返回:
- 'active' 的值
-
setActive
设置 'active' 属性的值.原文: Sets the value of the 'active' property.
- 参数:
active- 新的 'active' 值
-
isNatural
boolean isNatural()获取 'natural' 属性的值.原文: Gets the value of the 'natural' property.
- 返回:
- 'natural' 的值
-
setNatural
void setNatural(boolean natural) 设置 'natural' 属性的值.原文: Sets the value of the 'natural' property.
- 参数:
natural- 新的 'natural' 值
-
getCreakingHeartState
获取 'creaking_heart_state' 属性的值.原文: Gets the value of the 'creaking_heart_state' property.
- 返回:
- 'creaking_heart_state' 的值
-
setCreakingHeartState
设置 'creaking_heart_state' 属性的值.原文: Sets the value of the 'creaking_heart_state' property.
- 参数:
state- 新的 'creaking_heart_state' 值
-
getCreakingHeartState()