Package org.bukkit.block.data.type
Interface CreakingHeart
- All Superinterfaces:
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'creaking_heart_state' property.boolean
isActive()
Deprecated.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.Methods inherited from interface 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
Methods inherited from interface org.bukkit.block.data.Orientable
getAxes, getAxis, setAxis
-
Method Details
-
isActive
Deprecated.Gets the value of the 'active' property.- Returns:
- the 'active' value
-
setActive
Sets the value of the 'active' property.- Parameters:
active
- the new 'active' 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
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
-
getCreakingHeartState()