protected override void DrawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator)
        {
            SaveFormatComparator saveformatcomparator = (SaveFormatComparator)GuiSelectWorld.GetSize(ParentWorldGui)[par1];
            string s = saveformatcomparator.GetDisplayName();

            if (s == null || MathHelper2.StringNullOrLengthZero(s))
            {
                s = (new StringBuilder()).Append(GuiSelectWorld.GetLocalizedWorldName(ParentWorldGui)).Append(" ").Append(par1 + 1).ToString();
            }

            string s1 = saveformatcomparator.GetFileName();

            s1 = (new StringBuilder()).Append(s1).Append(" (").Append(new DateTime(saveformatcomparator.GetLastTimePlayed())).ToString();
            s1 = (new StringBuilder()).Append(s1).Append(")").ToString();
            string s2 = "";

            if (saveformatcomparator.RequiresConversion())
            {
                s2 = (new StringBuilder()).Append(GuiSelectWorld.GetLocalizedMustConvert(ParentWorldGui)).Append(" ").Append(s2).ToString();
            }
            else
            {
                s2 = GuiSelectWorld.GetLocalizedGameMode(ParentWorldGui)[saveformatcomparator.GetGameType()];

                if (saveformatcomparator.IsHardcoreModeEnabled())
                {
                    s2 = (new StringBuilder()).Append(FontRenderer.SpecialChar).Append("4").Append(StatCollector.TranslateToLocal("gameMode.hardcore")).Append(FontRenderer.SpecialChar).Append("8").ToString();
                }
            }

            ParentWorldGui.DrawString(ParentWorldGui.FontRenderer, s, par2 + 2, par3 + 1, 0xffffff);
            ParentWorldGui.DrawString(ParentWorldGui.FontRenderer, s1, par2 + 2, par3 + 12, 0x808080);
            ParentWorldGui.DrawString(ParentWorldGui.FontRenderer, s2, par2 + 2, par3 + 12 + 10, 0x808080);
        }
        public virtual int CompareTo(SaveFormatComparator par1SaveFormatComparator)
        {
            if (LastTimePlayed < par1SaveFormatComparator.LastTimePlayed)
            {
                return(1);
            }

            if (LastTimePlayed > par1SaveFormatComparator.LastTimePlayed)
            {
                return(-1);
            }
            else
            {
                return(FileName.CompareTo(par1SaveFormatComparator.FileName));
            }
        }