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

Method getWithMeta

src/main/java/gregapi/data/IL.java:684–689  ·  view source on GitHub ↗
(long aAmount, long aMetaValue, Object... aReplacements)

Source from the content-addressed store, hash-verified

682 }
683
684 @Override
685 public ItemStack getWithMeta(long aAmount, long aMetaValue, Object... aReplacements) {
686 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
687 if (ST.invalid(mStack)) return ST.copyFirst(aReplacements);
688 return ST.copyAmountAndMeta(aAmount, aMetaValue, OM.get_(mStack));
689 }
690
691 @Override
692 public ItemStack getWithDamage(long aAmount, long aMetaValue, Object... aReplacements) {

Callers

nothing calls this directly

Calls 6

invalidMethod · 0.95
copyFirstMethod · 0.95
copyAmountAndMetaMethod · 0.95
get_Method · 0.95
printlnMethod · 0.80
nameMethod · 0.65

Tested by

no test coverage detected