Interface IBeeJubilance


public interface IBeeJubilance
Determines whether a bee species is jubilant in a certain environment.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<IBeeJubilance>
    Used to read a jubilance from a datapack file in the bee_jubilance folder.
  • Method Summary

    Modifier and Type
    Method
    Description
    default com.mojang.serialization.MapCodec<? extends IBeeJubilance>
    Used to write this jubilance to a datapack file.
    boolean
    isJubilant(IBeeSpecies species, IGenome genome, IBeeHousing housing)
    Returns true when conditions are right to make this species Jubilant.
  • Field Details

  • Method Details

    • codec

      default com.mojang.serialization.MapCodec<? extends IBeeJubilance> codec()
      Used to write this jubilance to a datapack file. A jubilance that is only registered in code does not need to override this.
      Returns:
      The codec registered for this jubilance in ForestryRegistries.BEE_JUBILANCE_TYPE
    • isJubilant

      boolean isJubilant(IBeeSpecies species, IGenome genome, IBeeHousing housing)
      Returns true when conditions are right to make this species Jubilant. Jubilant bees can produce their Specialty products.