Example #1
0
 @Override
 public String getItemStackDisplayName(ItemStack stack) {
   return StatCollector.translateToLocal(DarkCore.MOD_ID.toLowerCase() + "." + name);
 }
Example #2
0
 public ItemDC(String name) {
   this.name = name;
   setCreativeTab(DarkCore.tab);
   setTextureName(DarkCore.MOD_ID.toLowerCase() + ":" + name);
   GameRegistry.registerItem(this, name);
 }