Checks if this Item has a Crafting Recipe. @param aOutput The output of the Recipe. @return if it has found at least one Recipe.
(ItemStack aOutput)
| 589 | * @return if it has found at least one Recipe. |
| 590 | */ |
| 591 | public static boolean has(ItemStack aOutput) { |
| 592 | if (ST.invalid(aOutput)) return F; |
| 593 | List<IRecipe> tList = list(); |
| 594 | for (int i = 0; i < tList.size(); i++) if (ST.equal(OM.get(tList.get(i).getRecipeOutput()), aOutput, T)) return T; |
| 595 | return F; |
| 596 | } |
| 597 | |
| 598 | /** |
| 599 | * Removes a Crafting Recipe. |
no test coverage detected