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

Method copyMeta

src/main/java/gregapi/util/ST.java:326–328  ·  view source on GitHub ↗
(long aMeta, ItemStack aStack)

Source from the content-addressed store, hash-verified

324 }
325
326 public static ItemStack copyMeta(long aMeta, ItemStack aStack) {
327 return aStack == null || item_(aStack) == null ? null : meta_(copy_(aStack), aMeta);
328 }
329 public static ItemStack copyAmountAndMeta(long aSize, long aMeta, ItemStack aStack) {
330 return aStack == null || item_(aStack) == null ? null : meta_(amount_(aSize, aStack), aMeta);
331 }

Callers 8

onOreRegistration1Method · 0.95
WoodEntryMethod · 0.95
PlankEntryMethod · 0.95
BeamEntryMethod · 0.95
getStackMethod · 0.95
containerMethod · 0.95
dat2Method · 0.95
bumbleMutateMethod · 0.95

Calls 3

item_Method · 0.95
meta_Method · 0.95
copy_Method · 0.95

Tested by

no test coverage detected