Interface Beehive

All Superinterfaces:
BlockState, EntityBlockStorage<Bee>, Metadatable, PersistentDataHolder, PersistentDataViewHolder, TileState

public interface Beehive extends EntityBlockStorage<Bee>
Represents a captured state of a bee hive.
  • Method Details

    • getFlower

      Get the hive's flower location.
      Returns:
      flower location or null
    • setFlower

      void setFlower(@Nullable @Nullable Location location)
      Set the hive's flower location.
      Parameters:
      location - or null
    • isSedated

      boolean isSedated()
      Check if the hive is sedated due to smoke from a nearby campfire.
      Returns:
      True if hive is sedated