Package org.bukkit.block.data.type
Interface Beehive
- All Superinterfaces:
- BlockData,- Cloneable,- Directional
'honey_level' represents the amount of honey stored in the hive.
- 
Method SummaryModifier and TypeMethodDescriptionintGets the value of the 'honey_level' property.intGets the maximum allowed value of the 'honey_level' property.voidsetHoneyLevel(int honeyLevel) Sets the value of the 'honey_level' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDropsMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacing
- 
Method Details- 
getHoneyLevelint getHoneyLevel()Gets the value of the 'honey_level' property.- Returns:
- the 'honey_level' value
 
- 
setHoneyLevelvoid setHoneyLevel(int honeyLevel) Sets the value of the 'honey_level' property.- Parameters:
- honeyLevel- the new 'honey_level' value
 
- 
getMaximumHoneyLevelint getMaximumHoneyLevel()Gets the maximum allowed value of the 'honey_level' property.- Returns:
- the maximum 'honey_level' value
 
 
-