mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
22 lines
502 B
Java
22 lines
502 B
Java
package forestry.api.genetics;
|
|
|
|
import net.minecraftforge.fml.common.eventhandler.Event;
|
|
|
|
/**
|
|
* Called after Forestry has registered all his species alleles of a individual.
|
|
*/
|
|
public class AlleleSpeciesRegisterEvent<A extends IAlleleSpecies> extends AlleleRegisterEvent<A> {
|
|
|
|
private final ISpeciesRoot root;
|
|
|
|
public AlleleSpeciesRegisterEvent(ISpeciesRoot root, Class<? extends A> alleleClass) {
|
|
super(alleleClass);
|
|
this.root = root;
|
|
}
|
|
|
|
public ISpeciesRoot getRoot() {
|
|
return root;
|
|
}
|
|
|
|
}
|