mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Change the plugin system to a module system and slit up modules
-Moved the woodpile from the arboriculture module to the charcoal module -Moved the backpacks from the storage module to the backpacks module -Moved the crates from the storage module to the creates module -Added the database module with a new storage for individuals -Added a gui element system to improve the alyzer api -Added a species plugin interface to handle the database gui -Added some alyzer methods to the species plugin to move the alyzer integration later to it
This commit is contained in:
1 parent
ee272de168
commit
88fd031fb4
277 files changed
+7361
-1930
No files matched your search
@@ -14,17 +14,38 @@ import forestry.api.core.INbtWritable;
|
||||
*/
|
||||
public interface IGenome extends INbtWritable {
|
||||
|
||||
/**
|
||||
* @return The active species of this genome.
|
||||
*/
|
||||
IAlleleSpecies getPrimary();
|
||||
|
||||
/**
|
||||
* @return The inactive species of this genome.
|
||||
*/
|
||||
IAlleleSpecies getSecondary();
|
||||
|
||||
/**
|
||||
* @return A array with all chromosomes of this genome.
|
||||
*/
|
||||
IChromosome[] getChromosomes();
|
||||
|
||||
/**
|
||||
* @return The active allele of this chromosome type.
|
||||
*/
|
||||
IAllele getActiveAllele(IChromosomeType chromosomeType);
|
||||
|
||||
/**
|
||||
* @return The inactive allele of this chromosome type.
|
||||
*/
|
||||
IAllele getInactiveAllele(IChromosomeType chromosomeType);
|
||||
|
||||
/**
|
||||
* @return true if the given other IGenome has the amount of chromosomes and their alleles are identical.
|
||||
*/
|
||||
boolean isGeneticEqual(IGenome other);
|
||||
|
||||
/**
|
||||
* @return The root of this species and describes the class of species of this genome.
|
||||
*/
|
||||
ISpeciesRoot getSpeciesRoot();
|
||||
}
|
||||
Reference in new issue
Block a user