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

Method getWithDamage

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

Source from the content-addressed store, hash-verified

689 }
690
691 @Override
692 public ItemStack getWithDamage(long aAmount, long aMetaValue, Object... aReplacements) {
693 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
694 if (ST.invalid(mStack)) return ST.copyFirst(aReplacements);
695 return ST.copyAmountAndMeta(aAmount, aMetaValue, OM.get_(mStack));
696 }
697
698 @Override
699 public ItemStack getWithNBT(long aAmount, NBTTagCompound aNBT, 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