MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / registerWildcardAsOre

Method registerWildcardAsOre

src/main/java/gregapi/data/IL.java:714–719  ·  view source on GitHub ↗
(Object... aOreNames)

Source from the content-addressed store, hash-verified

712 }
713
714 @Override
715 public IItemContainer registerWildcardAsOre(Object... aOreNames) {
716 if (mHasNotBeenSet && Abstract_Mod.sFinalized < Abstract_Mod.sModCountUsingGTAPI) ERR.println("The Enum '" + name() + "' has not been set to an Item at this time!");
717 for (Object tOreName : aOreNames) OM.reg(tOreName, wild(1));
718 return this;
719 }
720
721 @SuppressWarnings("deprecation") @Override public Item getItem() {return item();}
722 @SuppressWarnings("deprecation") @Override public Block getBlock() {return block();}

Callers

nothing calls this directly

Calls 4

regMethod · 0.95
wildMethod · 0.95
printlnMethod · 0.80
nameMethod · 0.65

Tested by

no test coverage detected