Interface Beehive

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

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

    • getFlower

      @Nullable Location getFlower()
      Get the hive's flower location.
      flower location or null
    • setFlower

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

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