mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
This reverts commit 43e41034f6.
Conflicts:
src/main/java/forestry/api/arboriculture/IAlleleTreeSpecies.java
src/main/java/forestry/api/genetics/IAlleleSpeciesCustom.java
src/main/java/forestry/core/proxy/ProxyRenderClient.java
31 lines
845 B
Java
31 lines
845 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.genetics;
|
|
|
|
import forestry.api.core.INbtWritable;
|
|
|
|
/**
|
|
* Holds the {@link IChromosome}s which comprise the traits of a given individual.
|
|
*
|
|
* Only the default implementation is supported.
|
|
*/
|
|
public interface IGenome extends INbtWritable {
|
|
|
|
IAlleleSpecies getPrimary();
|
|
|
|
IAlleleSpecies getSecondary();
|
|
|
|
IChromosome[] getChromosomes();
|
|
|
|
IAllele getActiveAllele(IChromosomeType chromosomeType);
|
|
|
|
IAllele getInactiveAllele(IChromosomeType chromosomeType);
|
|
|
|
boolean isGeneticEqual(IGenome other);
|
|
|
|
ISpeciesRoot getSpeciesRoot();
|
|
}
|