Package org.bukkit.block.data.type
Interface CaveVinesPlant
- All Known Subinterfaces:
CaveVines
'berries' indicates whether the block has berries.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the value of the 'berries' property.void
setBerries
(boolean berries) Sets the value of the 'berries' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
isBerries
boolean isBerries()Gets the value of the 'berries' property.- Returns:
- the 'berries' value
-
setBerries
void setBerries(boolean berries) Sets the value of the 'berries' property.- Parameters:
berries
- the new 'berries' value
-