Interface IBeekeepingMode


public interface IBeekeepingMode
  • Method Details

    • getName

      String getName()
      Returns:
      Localized name of this beekeeping mode.
    • getDescription

      List<String> getDescription()
      Returns:
      Localized list of strings outlining the behaviour of this beekeeping mode.
    • getWearModifier

      float getWearModifier()
      Returns:
      Float used to modify the wear on comb frames.
    • getFinalFertility

      int getFinalFertility(IBee queen, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
      Returns:
      fertility taking into account the birthing queen and surroundings.
    • isFatigued

      boolean isFatigued(IBee queen, IBeeHousing housing)
      Returns:
      true if the queen is genetically "fatigued" and should not be reproduced anymore.
    • isDegenerating

      boolean isDegenerating(IBee queen, IBee offspring, IBeeHousing housing)
      Returns:
      true if the genetic structure of the queen is breaking down during spawning of the offspring (with chance). will trigger a negative effect.
    • isOffspringPristine

      boolean isOffspringPristine(IBee queen)
      Returns:
      true if an offspring of this queen is considered pristine
    • mayMultiplyPrincess

      boolean mayMultiplyPrincess(IBee queen)
      Returns:
      true if this mode allows the passed queen or princess to be multiplied
    • getBeeModifier

      IBeeModifier getBeeModifier()
      Returns:
      the bee modifier for this mode