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

Method copy

src/main/java/gregapi/util/ST.java:174–174  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

172 public static byte maxsize(ItemStack aStack) {return (byte)(aStack == null || item_(aStack) == null ? 64 : item_(aStack).getItemStackLimit(aStack));}
173
174 public static ItemStack copy (ItemStack aStack) {return aStack == null || item_(aStack) == null ? null : copy_(aStack);}
175 public static ItemStack copy_(ItemStack aStack) {return aStack.copy();}
176
177 public static ItemStack name (ItemStack aStack, String aName) {return aStack == null || aName == null ? aStack : name_(aStack, aName);}

Callers 15

onWorldTickMethod · 0.95
generatePermutationsMethod · 0.95
loadCraftingRecipesMethod · 0.95
loadUsageRecipesMethod · 0.95
GT_BaseCropMethod · 0.95
getGainMethod · 0.95
getStack_Method · 0.95
FoodStatMethod · 0.95
onEatenMethod · 0.95
onDispenseMethod · 0.95
onItemRightClickMethod · 0.95
scrapboxMethod · 0.95

Calls 2

item_Method · 0.95
copy_Method · 0.95

Tested by

no test coverage detected