if(EXCLUDES_ROOT.equals(localName)) {
processExclude = true;
return true;
}
if(processStack && RecipeConfigParser.ELEMENT_ITEM_STACK.equals(localName)) {
RecipeInput ri = RecipeConfigParser.getItemStack(attributes);
if(ri != null) {
GrindingBall gb = new GrindingBall(ri, gm, cm, pm, drf);
balls.add(gb);
}
}
if(processExclude && RecipeConfigParser.ELEMENT_ITEM_STACK.equals(localName)) {
RecipeInput ri = RecipeConfigParser.getItemStack(attributes);
if(ri != null) {
excludes.add(ri);
}
}