Package org.bukkit.block.data.type
Interface CaveVinesPlant
- All Known Subinterfaces:
CaveVines
'berries' indicates whether the block has berries.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'berries' property.voidsetBerries(boolean berries) Sets the value of the 'berries' 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
-
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
-