Exports the ore-dicts out of the recipe files

This will not alter the handler, because rewriting the parser for it being too static is not feasible at this point
This commit is contained in:
thatsIch
2015-06-21 23:57:36 +02:00
parent ab32b2b357
commit cd0aec123d
6 changed files with 42 additions and 27 deletions
@@ -73,16 +73,20 @@ import appeng.recipes.handlers.OreRegistration;
*/
public class RecipeHandler implements IRecipeHandler
{
public final List<String> tokens = new LinkedList<String>();
final RecipeData data;
private final List<String> tokens = new LinkedList<String>();
public RecipeHandler()
{
this.data = new RecipeData();
}
RecipeHandler( RecipeHandler parent )
/**
* Called recursively from parent
*
* @param parent owner of this handler
*/
private RecipeHandler( RecipeHandler parent )
{
this.data = parent.data;
}