Made some things public
This commit is contained in:
parent
6353f02541
commit
9ffce3b355
3 changed files with 2 additions and 15 deletions
|
@ -78,8 +78,8 @@ public class RecipeCrafter {
|
|||
}
|
||||
|
||||
|
||||
IBaseRecipeType currentRecipe;
|
||||
int currentTickTime = 0;
|
||||
public IBaseRecipeType currentRecipe;
|
||||
public int currentTickTime = 0;
|
||||
|
||||
/**
|
||||
* Call this on the tile tick
|
||||
|
|
|
@ -52,11 +52,4 @@ public class RecipeHanderer {
|
|||
}
|
||||
|
||||
|
||||
public static void addOreDicRecipes(){
|
||||
recipeListBackup.clear();
|
||||
recipeListBackup.addAll(recipeList);
|
||||
//TODO add all of the recipes with all the different ores
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -36,12 +36,6 @@ public class TechRebornDevCommand extends CommandBase {
|
|||
} else if ("help".equals(args[0])) {
|
||||
sender.addChatMessage(new ChatComponentText("recipes - Reloads all of the machine recipes"));
|
||||
} else if ("recipes".equals(args[0])) {
|
||||
long startTime = System.currentTimeMillis();
|
||||
RecipeHanderer.recipeList.clear();
|
||||
RecipeHanderer.recipeList.addAll(RecipeHanderer.recipeListBackup);
|
||||
RecipeHanderer.addOreDicRecipes();
|
||||
long endTime = System.currentTimeMillis();
|
||||
sender.addChatMessage(new ChatComponentText("Reloaded oreDictionary Recipes in" + (endTime - startTime) + " milliseconds"));
|
||||
sender.addChatMessage(new ChatComponentText(RecipeHanderer.recipeList.size() + " recipes loaded"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue