Begin refactor, make CarvingVariation and CarvingGroup interfaces

This commit is contained in:
tterrag1098 committed 2015-01-15 00:03:43 -05:00
1 parent b268ebeca0
commit 155bc00f0e
12 files changed
+206 -75

No files matched your search

@@ -15,6 +15,7 @@ import codechicken.nei.NEIServerUtils;
import codechicken.nei.PositionedStack;
import codechicken.nei.recipe.TemplateRecipeHandler;
import com.cricketcraft.chisel.api.carving.ICarvingVariation;
import com.cricketcraft.chisel.carving.Carving;
import com.cricketcraft.chisel.carving.CarvingGroup;
import com.cricketcraft.chisel.carving.CarvingVariation;
@@ -164,7 +165,7 @@ public class RecipeHandlerChisel extends TemplateRecipeHandler {
private static List<ItemStack> getVariationStacks(CarvingGroup g) {
List<ItemStack> stacks = new ArrayList<ItemStack>();
for (CarvingVariation v : g.getVariations()) {
for (ICarvingVariation v : g.getVariations()) {
stacks.add(v.getStack());
}
String oreName = g.getOreName();