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

Method getUndamaged

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

Source from the content-addressed store, hash-verified

643 }
644
645 @Override
646 public ItemStack getUndamaged(long aAmount, Object... aReplacements) {
647 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
648 if (ST.invalid(mStack)) return ST.copyFirst(aReplacements);
649 return ST.copyAmountAndMeta(aAmount, 0, OM.get_(mStack));
650 }
651
652 @Override
653 public ItemStack getAlmostBroken(long aAmount, 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