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

Method copy_

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

Source from the content-addressed store, hash-verified

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);}
178 public static ItemStack name_(ItemStack aStack, String aName) {aStack.setStackDisplayName(aName); return aStack;}

Callers 12

func_151367_bMethod · 0.95
addItemMethod · 0.95
scanMethod · 0.95
addCrucibleRecipeMethod · 0.95
add_smeltingMethod · 0.95
ae_grinderMethod · 0.95
RecipeMethod · 0.95
copyMethod · 0.95
amount_Method · 0.95
validMeta_Method · 0.95
copyMetaMethod · 0.95
shapedMethod · 0.95

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected