package net.wayward_realms.waywarditems.recipe;

import net.wayward_realms.waywarditems.WaywardItems;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.ShapedRecipe;

public class RecipeManager {

    private WaywardItems plugin;

    public RecipeManager(WaywardItems plugin) {
        this.plugin = plugin;
    }

    public void setupRecipes() {
        setupSaddleRecipe();
    }

    private void setupSaddleRecipe() {
        ShapedRecipe recipe = new ShapedRecipe(new ItemStack(Material.SADDLE));
        recipe.shape("lll", "sls", " i ").setIngredient('l', Material.LEATHER).setIngredient('s', Material.STRING).setIngredient('i', Material.IRON_INGOT);
        plugin.getServer().addRecipe(recipe);
    }

}

@@ -416,16 +416,161 @@
 cipe();%0A
+        setupLeashRecipe();%0A        setupIronHorseArmourRecipe();%0A        setupGoldHorseArmourRecipe();%0A        setupDiamondHorseArmourRecipe();%0A
     %7D%0A%0A 
@@ -896,10 +896,1306 @@
 %0A    %7D%0A%0A
+    private void setupLeashRecipe() %7B%0A        ShapedRecipe recipe = new ShapedRecipe(new ItemStack(Material.LEASH));%0A        recipe.shape(%22 ss%22, %22 ss%22, %22s  %22).setIngredient('s', Material.STRING);%0A        plugin.getServer().addRecipe(recipe);%0A    %7D%0A%0A    private void setupIronHorseArmourRecipe() %7B%0A        ShapedRecipe recipe = new ShapedRecipe(new ItemStack(Material.IRON_BARDING));%0A        recipe.shape(%22  i%22, %22lIl%22, %22i i%22).setIngredient('i', Material.IRON_INGOT).setIngredient('l', Material.LEATHER).setIngredient('I', Material.IRON_BLOCK);%0A        plugin.getServer().addRecipe(recipe);%0A    %7D%0A%0A    private void setupGoldHorseArmourRecipe() %7B%0A        ShapedRecipe recipe = new ShapedRecipe(new ItemStack(Material.GOLD_BARDING));%0A        recipe.shape(%22  g%22, %22lGl%22, %22g g%22).setIngredient('g', Material.GOLD_INGOT).setIngredient('l', Material.LEATHER).setIngredient('G', Material.GOLD_BLOCK);%0A        plugin.getServer().addRecipe(recipe);%0A    %7D%0A%0A    private void setupDiamondHorseArmourRecipe() %7B%0A        ShapedRecipe recipe = new ShapedRecipe(new ItemStack(Material.DIAMOND_BARDING));%0A        recipe.shape(%22  d%22, %22lDl%22, %22d d%22).setIngredient('d', Material.DIAMOND).setIngredient('l', Material.LEATHER).setIngredient('D', Material.DIAMOND_BLOCK);%0A        plugin.getServer().addRecipe(recipe);%0A    %7D%0A%0A
 %7D%0A

Add some new recipes