Package org.bukkit.block.data.type
Interface CreakingHeart
- All Superinterfaces:
BlockData,Cloneable,Orientable
'creaking_heart_state' is the state of the block depending on the time and its position.
'natural' is whether this is a naturally generated block.
'natural' is whether this is a naturally generated block.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'creaking_heart_state' property.default booleanisActive()Deprecated, for removal: This API element is subject to removal in a future version.booleanGets the value of the 'natural' property.default voidsetActive(boolean active) Deprecated, for removal: This API element is subject to removal in a future version.voidSets the value of the 'creaking_heart_state' property.voidsetNatural(boolean natural) Sets the value of the 'natural' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Orientable
getAxes, getAxis, setAxis
-
Method Details
-
isActive
Deprecated, for removal: This API element is subject to removal in a future version.Gets the value of the 'active' property.- Returns:
- the 'active' value
-
setActive
Deprecated, for removal: This API element is subject to removal in a future version.Sets the value of the 'active' property.- Parameters:
active- the new 'active' value
-
getCreakingHeartState
Gets the value of the 'creaking_heart_state' property.- Returns:
- the 'creaking_heart_state' value
-
setCreakingHeartState
Sets the value of the 'creaking_heart_state' property.- Parameters:
state- the new 'creaking_heart_state' value
-
isNatural
boolean isNatural()Gets the value of the 'natural' property.- Returns:
- the 'natural' value
-
setNatural
void setNatural(boolean natural) Sets the value of the 'natural' property.- Parameters:
natural- the new 'natural' value
-
getCreakingHeartState()