MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / copyArray

Method copyArray

src/main/java/gregapi/util/UT.java:343–347  ·  view source on GitHub ↗
(FluidStack... aFluids)

Source from the content-addressed store, hash-verified

341 }
342
343 @Deprecated public static FluidStack[] copyArray(FluidStack... aFluids) {
344 FluidStack[] rStacks = new FluidStack[aFluids.length];
345 for (int i = 0; i < aFluids.length; i++) if (aFluids[i] != null) rStacks[i] = aFluids[i].copy();
346 return rStacks;
347 }
348
349 @Deprecated public static final Map<ItemStackContainer, FluidContainerData> sFilled2Data = FL.FULL_TO_DATA;
350 @Deprecated public static final Map<ItemStackContainer, Map<String, FluidContainerData>> sEmpty2Fluid2Data = FL.EMPTY_TO_FLUID_TO_DATA;

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected