use of forestry.lepidopterology.commands.CommandButterfly in project ForestryMC by ForestryMC.
the class ModuleLepidopterology method doInit.
@Override
public void doInit() {
BlockRegistryLepidopterology blocks = getBlocks();
GameRegistry.registerTileEntity(TileCocoon.class, "forestry.Cocoon");
ModuleCore.rootCommand.addChildCommand(new CommandButterfly());
ResourceLocation butterflyResourceLocation = new ResourceLocation(Constants.MOD_ID, "butterflyGE");
EntityUtil.registerEntity(butterflyResourceLocation, EntityButterfly.class, "butterflyGE", 0, 0x000000, 0xffffff, 50, 1, true);
MothDefinition.initMoths();
ButterflyDefinition.initButterflies();
ButterflyAlleles.createLoot();
MinecraftForge.EVENT_BUS.post(new AlleleSpeciesRegisterEvent(ButterflyManager.butterflyRoot, IAlleleButterflySpecies.class));
blocks.butterflyChest.init();
if (spawnButterflysFromLeaves) {
TreeManager.treeRoot.registerLeafTickHandler(new ButterflySpawner());
}
RecipeSorter.register("forestry:lepidopterologymating", MatingRecipe.class, RecipeSorter.Category.SHAPELESS, "before:minecraft:shapeless");
}
Aggregations