Package forestry.api.client.genetics
Interface IAnalyzerPlugin<S extends ISpecies<I>,I extends IIndividual>
public interface IAnalyzerPlugin<S extends ISpecies<I>,I extends IIndividual>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawPage1(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.voiddrawPage2(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.voiddrawPage3(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.voiddrawPage4(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 voiddrawPage5(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.getHints()
-
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, callIAnalyzerGraphics.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, callIAnalyzerGraphics.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
-