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

Method getAlmostBroken

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

Source from the content-addressed store, hash-verified

650 }
651
652 @Override
653 public ItemStack getAlmostBroken(long aAmount, Object... aReplacements) {
654 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
655 if (ST.invalid(mStack)) return ST.copyFirst(aReplacements);
656 return ST.copyAmountAndMeta(aAmount, mStack.getMaxDamage()-1, OM.get_(mStack));
657 }
658
659 @Override
660 public ItemStack getWithName(long aAmount, String aDisplayName, 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