Package org.spout.api.inventory.recipe

Examples of org.spout.api.inventory.recipe.RecipeManager


        materials.add(current);
        current = new ArrayList<Material>();
        cntr = 0;
      }
    }
    RecipeManager recipeManager = VanillaPlugin.getInstance().getEngine().getRecipeManager();
    Collections.reverse(materials);
    Recipe recipe = recipeManager.matchShapedRecipe(materials);
    if (recipe == null) {
      recipe = recipeManager.matchShapelessRecipe(shapeless);
    }
    if (recipe != null) {
      updateCraftingSlot(recipe.getResult());
      return;
    }
View Full Code Here

TOP

Related Classes of org.spout.api.inventory.recipe.RecipeManager

Copyright © 2018 www.massapicom. 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.