mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Use generics for Chromosome type, begin unifying code
This commit is contained in:
1 parent
a8270ef365
commit
43e41034f6
217 files changed
+3148
-2417
No files matched your search
@@ -5,6 +5,8 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.genetics;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import forestry.api.core.INbtWritable;
|
||||
|
||||
/**
|
||||
@@ -14,12 +16,16 @@ import forestry.api.core.INbtWritable;
|
||||
*/
|
||||
public interface IChromosome extends INbtWritable {
|
||||
|
||||
@Nonnull
|
||||
IAllele getPrimaryAllele();
|
||||
|
||||
@Nonnull
|
||||
IAllele getSecondaryAllele();
|
||||
|
||||
@Nonnull
|
||||
IAllele getInactiveAllele();
|
||||
|
||||
@Nonnull
|
||||
IAllele getActiveAllele();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user