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, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
-
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
-