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

Method getOutput

src/main/java/gregapi/recipes/Recipe.java:687–687  ·  view source on GitHub ↗
(long aIndex)

Source from the content-addressed store, hash-verified

685
686 public ItemStack getRepresentativeInput(long aIndex) {if (aIndex < 0 || aIndex >= mInputs.length) return null; return ST.copy(mInputs[(int)aIndex]);}
687 public ItemStack getOutput(long aIndex) {if (aIndex < 0 || aIndex >= mOutputs.length) return null; return ST.copy(mOutputs[(int)aIndex]);}
688
689 public FluidStack getRepresentativeFluidInput(long aIndex) {if (aIndex < 0 || aIndex >= mFluidInputs.length || mFluidInputs[(int)aIndex] == null) return null; return mFluidInputs[(int)aIndex].copy();}
690 public FluidStack getFluidOutput(long aIndex) {if (aIndex < 0 || aIndex >= mFluidOutputs.length || mFluidOutputs[(int)aIndex] == null) return null; return mFluidOutputs[(int)aIndex].copy();}

Callers 2

getOutputsMethod · 0.95
CachedDefaultRecipeMethod · 0.80

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected