Interface IAnalyzerPlugin<S extends ISpecies<I>,I extends IIndividual>


public interface IAnalyzerPlugin<S extends ISpecies<I>,I extends IIndividual>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawPage1(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
    The first page of the analyzer, typically used to display the most important chromosomes.
    void
    drawPage2(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
    The second page of the analyzer, typically used to display the rest of the chromosomes.
    void
    drawPage3(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
    The third page of the analyzer, typically used to display produce.
    void
    drawPage4(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
    The fourth page of the analyzer, usually just the mutations this individual's active species is used in.
    default void
    drawPage5(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
    The fifth page of the analyzer, usually used to display the individual's taxonomy and flavor text.
    default List<String>
     
  • Method Details

    • drawPage1

      void drawPage1(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
      The first page of the analyzer, typically used to display the most important chromosomes.
      Parameters:
      graphics - The analyzer window where information is displayed.
      individual - The currently analyzed individual, with genome data.
      stage - The life stage of the individual.
      specimen - The item form of the specimen currently in the slot.
    • drawPage2

      void drawPage2(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
      The second page of the analyzer, typically used to display the rest of the chromosomes.
      Parameters:
      graphics - The analyzer window where information is displayed.
      individual - The currently analyzed individual, with genome data.
      stage - The life stage of the individual.
      specimen - The item form of the specimen currently in the slot.
    • drawPage3

      void drawPage3(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
      The third page of the analyzer, typically used to display produce.
      Parameters:
      graphics - The analyzer window where information is displayed.
      individual - The currently analyzed individual, with genome data.
      stage - The life stage of the individual.
      specimen - The item form of the specimen currently in the slot.
    • drawPage4

      void drawPage4(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
      The fourth page of the analyzer, usually just the mutations this individual's active species is used in. To use Forestry's built-in mutations page, call IAnalyzerGraphics.drawMutationsPage(java.util.function.Function<S, net.minecraft.world.item.ItemStack>).
      Parameters:
      graphics - The analyzer window where information is displayed.
      individual - The currently analyzed individual, with genome data.
      stage - The life stage of the individual.
      specimen - The item form of the specimen currently in the slot.
    • drawPage5

      default void drawPage5(IAnalyzerGraphics<S,I> graphics, I individual, ILifeStage stage, net.minecraft.world.item.ItemStack specimen)
      The fifth page of the analyzer, usually used to display the individual's taxonomy and flavor text. To use Forestry's built-in taxonomy page, call IAnalyzerGraphics.drawTaxonomyPage().
      Parameters:
      graphics - The analyzer window where information is displayed.
      individual - The currently analyzed individual, with genome data.
      stage - The life stage of the individual.
      specimen - The item form of the specimen currently in the slot.
    • getHints

      default List<String> getHints()