package com.scottkillen.mod.dendrology.content.crafting;

import com.scottkillen.mod.dendrology.block.ModBlocks;
import com.scottkillen.mod.kore.tree.DefinesTree;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;

public enum Recipes
{
    ;

    public static void init()
    {
        initLogRecipes();
        initPlankRecipes();
    }

    @SuppressWarnings("ObjectAllocationInLoop")
    private static void initLogRecipes()
    {
        for (final DefinesTree tree : ModBlocks.getContent())
            CraftingManager.getInstance()
                    .addRecipe(new ItemStack(tree.getPlanksBlock(), 4, tree.getPlanksMeta()), "#", '#',
                            new ItemStack(tree.getLogBlock(), 1, tree.getLogMeta()));
    }

    private static void initPlankRecipes()
    {
        initPlankStairsRecipes();
        initPlankSlabRecipes();
    }

    @SuppressWarnings("ObjectAllocationInLoop")
    private static void initPlankStairsRecipes()
    {
        for (final DefinesTree tree : ModBlocks.getContent())
            CraftingManager.getInstance().addRecipe(new ItemStack(tree.getStairsBlock(), 4), "#  ", "## ", "###", '#',
                    new ItemStack(tree.getPlanksBlock(), 1, tree.getPlanksMeta()));
    }

    @SuppressWarnings("ObjectAllocationInLoop")
    private static void initPlankSlabRecipes()
    {
        for (final DefinesTree tree : ModBlocks.getContent())
            CraftingManager.getInstance()
                    .addRecipe(new ItemStack(tree.getSingleSlabBlock(), 6, tree.getSlabMeta()), "###", '#',
                            new ItemStack(tree.getPlanksBlock(), 1, tree.getPlanksMeta()));
    }
}

@@ -137,29 +137,130 @@
 mod.
-kore.tree.DefinesTree
+dendrology.content.OverworldTreeSpecies;%0Aimport com.scottkillen.mod.kore.tree.DefinesTree;%0Aimport net.minecraft.init.Items
 ;%0Aim
@@ -430,32 +430,32 @@
 itLogRecipes();%0A
-
         initPlan
@@ -458,32 +458,1091 @@
 PlankRecipes();%0A
+        initSaplingRecipes();%0A    %7D%0A%0A    private static void initSaplingRecipes()%0A    %7B%0A        CraftingManager.getInstance().addShapelessRecipe(new ItemStack(Items.dye, 1, 9),%0A                new ItemStack(OverworldTreeSpecies.CERASU.getSaplingBlock(), 1,%0A                        OverworldTreeSpecies.CERASU.getSaplingMeta()));%0A%0A        CraftingManager.getInstance().addShapelessRecipe(new ItemStack(Items.dye, 1, 10),%0A                new ItemStack(OverworldTreeSpecies.EWCALY.getSaplingBlock(), 1,%0A                        OverworldTreeSpecies.EWCALY.getSaplingMeta()));%0A%0A        CraftingManager.getInstance().addShapelessRecipe(new ItemStack(Items.dye, 1, 5),%0A                new ItemStack(OverworldTreeSpecies.PORFFOR.getSaplingBlock(), 1,%0A                        OverworldTreeSpecies.PORFFOR.getSaplingMeta()));%0A%0A        CraftingManager.getInstance().addShapelessRecipe(new ItemStack(Items.dye, 1, 14),%0A                new ItemStack(OverworldTreeSpecies.ACEMUS.getSaplingBlock(), 1,%0A                        OverworldTreeSpecies.ACEMUS.getSaplingMeta()));%0A
     %7D%0A%0A    @Supp

Add dye recipes for select saplings