MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / crafting

Method crafting

src/main/java/gregapi/util/CR.java:577–581  ·  view source on GitHub ↗
(ItemStack... aRecipe)

Source from the content-addressed store, hash-verified

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();}

Callers 4

getanyMethod · 0.95
getMethod · 0.95
outputsMethod · 0.95
removeMethod · 0.95

Calls 1

Tested by

no test coverage detected