Added Basic Quartz and Tool Recipes.

Added Custom Recipes.
This commit is contained in:
AlgorithmX2
2014-02-10 23:51:25 -06:00
parent 077572acc9
commit 08e6a656b8
14 changed files with 879 additions and 95 deletions
+23
View File
@@ -0,0 +1,23 @@
package appeng.recipes.loader;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import appeng.api.recipes.IRecipeLoader;
public class JarLoader implements IRecipeLoader
{
private String rootPath;
public JarLoader(String s) {
rootPath = s;
}
@Override
public BufferedReader getFile(String s) throws Exception
{
return new BufferedReader( new InputStreamReader( getClass().getResourceAsStream( rootPath + s ), "UTF-8" ) );
}
}