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

Method regName

src/main/java/gregapi/util/ST.java:210–210  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

208 public static short toMeta (int aStack) {return (short)(aStack>>>16);}
209
210 public static String regName (ItemStack aStack) {return regName(item(aStack));}
211 public static String regName (Block aBlock) {return regName(item(aBlock));}
212 public static String regName (Item aItem ) {return aItem == null ? null : regName_(aItem);}
213 public static String regName_(Item aItem ) {return Item.itemRegistry.getNameForObject(aItem);}

Callers 15

onItemTooltipMethod · 0.95
compareMethod · 0.95
onOreRegistration1Method · 0.95
onBlockDestroyedMethod · 0.95
onItemUseMethod · 0.95
getStackMethod · 0.95
ownsMethod · 0.95
waterstreamMethod · 0.95
scanMethod · 0.95
regMetaMethod · 0.95
regMeta_Method · 0.95
ownedByMethod · 0.95

Calls 2

itemMethod · 0.95
regName_Method · 0.95

Tested by

no test coverage detected