Added timer to the recipes.
This commit is contained in:
parent
8187708e03
commit
a1ccb7202e
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,7 @@ package techreborn;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import net.minecraftforge.common.MinecraftForge;
|
import net.minecraftforge.common.MinecraftForge;
|
||||||
|
import org.apache.commons.lang3.time.StopWatch;
|
||||||
import techreborn.achievement.TRAchievements;
|
import techreborn.achievement.TRAchievements;
|
||||||
import techreborn.api.recipe.RecipeHanderer;
|
import techreborn.api.recipe.RecipeHanderer;
|
||||||
import techreborn.client.GuiHandler;
|
import techreborn.client.GuiHandler;
|
||||||
|
@ -62,7 +63,11 @@ public class Core {
|
||||||
// Register ModItems
|
// Register ModItems
|
||||||
ModItems.init();
|
ModItems.init();
|
||||||
// Recipes
|
// Recipes
|
||||||
|
StopWatch watch = new StopWatch();
|
||||||
|
watch.start();
|
||||||
ModRecipes.init();
|
ModRecipes.init();
|
||||||
|
LogHelper.all(watch + " : main recipes");
|
||||||
|
watch.stop();
|
||||||
//Client only init, needs to be done before parts system
|
//Client only init, needs to be done before parts system
|
||||||
proxy.init();
|
proxy.init();
|
||||||
// Compat
|
// Compat
|
||||||
|
@ -86,7 +91,11 @@ public class Core {
|
||||||
@Mod.EventHandler
|
@Mod.EventHandler
|
||||||
public void postinit(FMLPostInitializationEvent event){
|
public void postinit(FMLPostInitializationEvent event){
|
||||||
// Has to be done here as Buildcraft registers there recipes late
|
// Has to be done here as Buildcraft registers there recipes late
|
||||||
|
StopWatch watch = new StopWatch();
|
||||||
|
watch.start();
|
||||||
RecipeManager.init();
|
RecipeManager.init();
|
||||||
|
LogHelper.all(watch + " : main recipes");
|
||||||
|
watch.stop();
|
||||||
//Has to be done after the recipes have been added
|
//Has to be done after the recipes have been added
|
||||||
CompatManager.postInit(event);
|
CompatManager.postInit(event);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue