    001    package net.minecraft.util;
    002
    003    public class StatCollector
    004    {
    005        private static StringTranslate localizedName = StringTranslate.getInstance();
    006
    007        /**
    008         * Translates a Stat name
    009         */
    010        public static String translateToLocal(String par0Str)
    011        {
    012            return localizedName.translateKey(par0Str);
    013        }
    014
    015        /**
    016         * Translates a Stat name with format args
    017         */
    018        public static String translateToLocalFormatted(String par0Str, Object ... par1ArrayOfObj)
    019        {
    020            return localizedName.translateKeyFormat(par0Str, par1ArrayOfObj);
    021        }
    022    }