Examples of matchShapelessRecipe()


Examples of org.spout.api.inventory.recipe.RecipeManager.matchShapelessRecipe()

    }
    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
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.