Add factories for creating bee species and mutations

Remove strict bee biome check (it worked poorly with biome mods)
This commit is contained in:
mezz committed 2015-05-07 22:14:52 -07:00
1 parent d29f4c0b79
commit 6afee76bee
108 files changed
+2390 -1766

No files matched your search

@@ -25,6 +25,7 @@ import com.mojang.authlib.GameProfile;
import cpw.mods.fml.common.FMLCommonHandler;
import forestry.api.apiculture.BeeManager;
import forestry.api.apiculture.EnumBeeChromosome;
import forestry.api.apiculture.EnumBeeType;
import forestry.api.apiculture.IAlleleBeeSpecies;
@@ -215,7 +216,7 @@ public class BeeHelper extends SpeciesRoot implements IBeeRoot {
@Override
public void registerTemplate(String identifier, IAllele[] template) {
beeTemplates.add(new Bee(PluginApiculture.beeInterface.templateAsGenome(template)));
beeTemplates.add(new Bee(BeeManager.beeRoot.templateAsGenome(template)));
speciesTemplates.put(identifier, template);
}