Interface IHiveManager


public interface IHiveManager
  • Method Details

    • getHives

      List<IHive> getHives()
      Returns:
      List of all registered hives.
    • getCommonVillageHives

      com.google.common.collect.ImmutableList<forestry.apiculture.VillageHive> getCommonVillageHives()
      Returns:
      List of common hives used when picking hives for Forestry village houses.
    • getRareVillageHives

      com.google.common.collect.ImmutableList<forestry.apiculture.VillageHive> getRareVillageHives()
      Returns:
      List of rare hives used when picking hives for Forestry village houses.
    • getDrops

      List<IHiveDrop> getDrops(net.minecraft.resources.ResourceLocation id)
      Returns:
      A list of potential drops for the hive with the specified ID.
    • getSwarmingMaterialChance

      float getSwarmingMaterialChance(net.minecraft.world.item.Item swarmItem)
      Used to determine if an item is usable as fuel in an Alveary Swarmer for queen rearing. In default Forestry, only Royal Jelly is usable and returns 0.01f, or 1%.
      Returns:
      The chance
    • createBeekeepingLogic

      IBeekeepingLogic createBeekeepingLogic(IBeeHousing housing)
      Creates beekeepingLogic for a housing. Should be used when the housing is created, see IBeekeepingLogic
    • createBeeHousingModifier

      IBeeModifier createBeeHousingModifier(IBeeHousing housing)
      Combines multiple modifiers from an IBeeHousing into one. Stays up to date with changes to the housing's modifiers.
    • createBeeHousingListener

      IBeeListener createBeeHousingListener(IBeeHousing housing)
      Combines multiple listeners from an IBeeHousing into one. Stays up to date with changes to the housing's listeners.