Examples of addRecipe()


Examples of com.l2jfrozen.gameserver.model.L2RecipeList.addRecipe()

      L2RecipeList recipeList = new L2RecipeList(id, level, recipeId, recipeName, successRate, mpCost, itemId, count, isDwarvenRecipe);

      for(L2RecipeInstance recipePart : recipePartList)
      {
        recipeList.addRecipe(recipePart);
      }
      _lists.put(new Integer(_lists.size()), recipeList);

      recipeList = null;
      recipeName = null;
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            break;
          default:
            dye = new ItemStack(Items.dye, 1, color);
        }
        final IRecipe recipe = new ShapelessOreRecipe(dye, element.get());
        proxy.addRecipe(recipe);
      }
    }

    if (Element.VINE_GLORIOSA.isPresent()) {
      final ItemStack gloriosa = Element.VINE_GLORIOSA.get();
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

    if (Element.VINE_GLORIOSA.isPresent()) {
      final ItemStack gloriosa = Element.VINE_GLORIOSA.get();
      final ItemStack dye = new ItemStack(Items.dye, 1, 1);
      final IRecipe recipe = new ShapelessOreRecipe(dye, gloriosa);
      proxy.addRecipe(recipe);
    }

        if (Element.TOADSTOOL.isPresent())
        {
            final ItemStack toadstool = Element.TOADSTOOL.get();
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        {
            final ItemStack toadstool = Element.TOADSTOOL.get();
           
            // emptyBowl + redMushroom + 2 toadstools = soup
            IRecipe recipe = new ShapelessOreRecipe(Items.mushroom_stew, Blocks.brown_mushroom, toadstool, toadstool, Items.bowl);
            proxy.addRecipe(recipe);
           
            // emptyBowl + brownMushroom + 2 toadstools = soup
            recipe = new ShapelessOreRecipe(Items.mushroom_stew, Blocks.red_mushroom, toadstool, toadstool, Items.bowl);
            proxy.addRecipe(recipe);
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            IRecipe recipe = new ShapelessOreRecipe(Items.mushroom_stew, Blocks.brown_mushroom, toadstool, toadstool, Items.bowl);
            proxy.addRecipe(recipe);
           
            // emptyBowl + brownMushroom + 2 toadstools = soup
            recipe = new ShapelessOreRecipe(Items.mushroom_stew, Blocks.red_mushroom, toadstool, toadstool, Items.bowl);
            proxy.addRecipe(recipe);

      // toadstool = brown dye
      recipe = new ShapelessOreRecipe(Element.DYE_BROWN.get(), toadstool);
      proxy.addRecipe(recipe);
        }
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            recipe = new ShapelessOreRecipe(Items.mushroom_stew, Blocks.red_mushroom, toadstool, toadstool, Items.bowl);
            proxy.addRecipe(recipe);

      // toadstool = brown dye
      recipe = new ShapelessOreRecipe(Element.DYE_BROWN.get(), toadstool);
      proxy.addRecipe(recipe);
        }
    }
   
    private static void writeLeafPileRecipes()
    {
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

   
    private static void writeLogConversionRecipes() {
        final CommonProxy proxy = Extrabiomes.proxy;
       
      if(Element.LOG_QUARTER_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()) {
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 4, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { "ll","ll" }, 'l', Element.LOG_QUARTER_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_QUARTER_BALD_CYPRESS.get().getItem(), 4, 0), new String[] { "ll","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_KNEE_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()){
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 3, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { " l","ll" }, 'l', Element.LOG_KNEE_BALD_CYPRESS.get()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

    private static void writeLogConversionRecipes() {
        final CommonProxy proxy = Extrabiomes.proxy;
       
      if(Element.LOG_QUARTER_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()) {
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 4, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { "ll","ll" }, 'l', Element.LOG_QUARTER_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_QUARTER_BALD_CYPRESS.get().getItem(), 4, 0), new String[] { "ll","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_KNEE_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()){
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 3, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { " l","ll" }, 'l', Element.LOG_KNEE_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_KNEE_BALD_CYPRESS.get().getItem(), 3, 0), new String[] { " l","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 4, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { "ll","ll" }, 'l', Element.LOG_QUARTER_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_QUARTER_BALD_CYPRESS.get().getItem(), 4, 0), new String[] { "ll","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_KNEE_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()){
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 3, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { " l","ll" }, 'l', Element.LOG_KNEE_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_KNEE_BALD_CYPRESS.get().getItem(), 3, 0), new String[] { " l","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.isPresent() && Element.LOG_RAINBOW_EUCALYPTUS.isPresent()) {
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_RAINBOW_EUCALYPTUS.get().getItem(), 4, Element.LOG_RAINBOW_EUCALYPTUS.get().getItemDamage()),new String[] { "ll","ll" }, 'l', Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.get()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_QUARTER_BALD_CYPRESS.get().getItem(), 4, 0), new String[] { "ll","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_KNEE_BALD_CYPRESS.isPresent() && Element.LOG_BALD_CYPRESS.isPresent()){
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_BALD_CYPRESS.get().getItem(), 3, Element.LOG_BALD_CYPRESS.get().getItemDamage()),new String[] { " l","ll" }, 'l', Element.LOG_KNEE_BALD_CYPRESS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_KNEE_BALD_CYPRESS.get().getItem(), 3, 0), new String[] { " l","ll" }, 'l', Element.LOG_BALD_CYPRESS.get()));
      }
     
      if(Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.isPresent() && Element.LOG_RAINBOW_EUCALYPTUS.isPresent()) {
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_RAINBOW_EUCALYPTUS.get().getItem(), 4, Element.LOG_RAINBOW_EUCALYPTUS.get().getItemDamage()),new String[] { "ll","ll" }, 'l', Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.get()));
        proxy.addRecipe(new ShapedOreRecipe(new ItemStack(Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.get().getItem(), 4, 0), new String[] { "ll","ll" }, 'l', Element.LOG_RAINBOW_EUCALYPTUS.get()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.