Package org.bukkit.block.data.type
Interface TNT
'unstable' indicates whether this TNT will explode on punching.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'unstable' property.voidsetUnstable(boolean unstable) Sets the value of the 'unstable' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
isUnstable
boolean isUnstable()Gets the value of the 'unstable' property.- Returns:
- the 'unstable' value
-
setUnstable
void setUnstable(boolean unstable) Sets the value of the 'unstable' property.- Parameters:
unstable- the new 'unstable' value
-