BlockState, EntityBlockStorage<Bee>, Metadatable, PersistentDataHolder, TileStatepublic interface Beehive extends EntityBlockStorage<Bee>
| Modifier and Type | Method | Description |
|---|---|---|
@Nullable 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(@Nullable Location location) |
Set the hive's flower location.
|
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updateaddEntity, getEntityCount, getMaxEntities, isFull, releaseEntities, setMaxEntitiesgetMetadata, hasMetadata, removeMetadata, setMetadatagetPersistentDataContainer@Nullable @Nullable Location getFlower()
void setFlower(@Nullable
@Nullable Location location)
location - or nullboolean isSedated()
Copyright © 2020. All rights reserved.