(ItemStack... aRecipe)
| 575 | } |
| 576 | |
| 577 | public static InventoryCrafting crafting(ItemStack... aRecipe) { |
| 578 | InventoryCrafting rCrafting = new InventoryCrafting(new Container() {@Override public boolean canInteractWith(EntityPlayer var1) {return F;}}, 3, 3); |
| 579 | for (int i = 0; i < 9 && i < aRecipe.length; i++) rCrafting.setInventorySlotContents(i, aRecipe[i]); |
| 580 | return rCrafting; |
| 581 | } |
| 582 | |
| 583 | @SuppressWarnings("unchecked") |
| 584 | public static List<IRecipe> list() {return CraftingManager.getInstance().getRecipeList();} |
no test coverage detected