Package org.bukkit.block
Interface Beehive
- All Superinterfaces:
- BlockState,- EntityBlockStorage<Bee>,- Metadatable,- PersistentDataHolder,- TileState
Represents a captured state of a bee hive.
- 
Method SummaryMethods inherited from interface org.bukkit.block.BlockStategetBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updateMethods inherited from interface org.bukkit.block.EntityBlockStorageaddEntity, getEntityCount, getMaxEntities, isFull, releaseEntities, setMaxEntitiesMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.block.TileStategetPersistentDataContainer
- 
Method Details- 
getFlowerGet the hive's flower location.- Returns:
- flower location or null
 
- 
setFlowerSet the hive's flower location.- Parameters:
- location- or null
 
- 
isSedatedboolean isSedated()Check if the hive is sedated due to smoke from a nearby campfire.- Returns:
- True if hive is sedated
 
 
-