public interface Beehive extends EntityBlockStorage<Bee>
| Modifier and Type | Method and Description |
|---|---|
Location |
getFlower()
Get the hive's flower location.
|
boolean |
isSedated()
Check if the hive is sedated due to smoke from a nearby campfire.
|
void |
setFlower(Location location)
Set the hive's flower location.
|
addEntity, getEntityCount, getMaxEntities, isFull, releaseEntities, setMaxEntitiesgetPersistentDataContainergetBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadata@Nullable Location getFlower()
void setFlower(@Nullable Location location)
location - or nullboolean isSedated()
Copyright © 2021. All rights reserved.