Package org.bukkit.block.data.type
Interface CreakingHeart
- All Superinterfaces:
BlockData
,Cloneable
,Orientable
'active' is whether the block is active.
'natural' is whether this is a naturally generated block.
'natural' is whether this is a naturally generated block.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
Gets the value of the 'active' property.boolean
Gets the value of the 'natural' property.void
setActive
(boolean active) Sets the value of the 'active' 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, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Orientable
getAxes, getAxis, setAxis
-
Method Details
-
isActive
boolean isActive()Gets the value of the 'active' property.- Returns:
- the 'active' value
-
setActive
void setActive(boolean active) 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
-