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

Method get

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

Source from the content-addressed store, hash-verified

621 }
622
623 @Override
624 public ItemStack get(long aAmount, Object... aReplacements) {
625 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
626 if (ST.invalid(mStack)) return ST.copyFirst(aReplacements);
627 return ST.amount(aAmount, OM.get_(mStack));
628 }
629
630 @Override
631 @SuppressWarnings("deprecation")

Callers 5

blockMethod · 0.95
getWithNameMethod · 0.95
getWithNameAndNBTMethod · 0.95
getWithChargeMethod · 0.95
registerOreMethod · 0.95

Calls 6

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

Tested by

no test coverage detected