接口 CreakingHeart
- 所有超级接口:
BlockData
,Cloneable
,Orientable
'creaking_heart_state' indicates the current operational phase of the block.
'natural' is whether this is a naturally generated block.
'natural' is whether this is a naturally generated block.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明Gets the value of the 'creaking_heart_state' property.boolean
isActive()
已过时。boolean
Gets the value of the 'natural' property.void
setActive
(boolean active) void
Sets the value of the 'creaking_heart_state' property.void
setNatural
(boolean natural) Sets the value of the 'natural' property.从接口继承的方法 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
已过时。Gets the value of the 'active' property.- 返回:
- the 'active' value
-
setActive
Sets the value of the 'active' property.- 参数:
active
- the new 'active' value
-
isNatural
boolean isNatural()Gets the value of the 'natural' property.- 返回:
- the 'natural' value
-
setNatural
void setNatural(boolean natural) Sets the value of the 'natural' property.- 参数:
natural
- the new 'natural' value
-
getCreakingHeartState
Gets the value of the 'creaking_heart_state' property.- 返回:
- the 'creaking_heart_state' value
-
setCreakingHeartState
Sets the value of the 'creaking_heart_state' property.- 参数:
state
- the new 'creaking_heart_state' value
-
getCreakingHeartState()