mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +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
@@ -7,7 +7,7 @@ package forestry.api.genetics;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IIndividualLiving extends IIndividual {
|
||||
public interface IIndividualLiving<C extends IChromosomeType> extends IIndividual<C> {
|
||||
|
||||
/**
|
||||
* @return Genetic information of the mate, null if unmated.
|
||||
|
||||
Reference in new issue
Block a user