    001    package net.minecraft.client;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005
    006    @SideOnly(Side.CLIENT)
    007    public class ThreadClientSleep extends Thread
    008    {
    009        /** A reference to the Minecraft object. */
    010        final Minecraft mc;
    011
    012        public ThreadClientSleep(Minecraft par1Minecraft, String par2Str)
    013        {
    014            super(par2Str);
    015            this.mc = par1Minecraft;
    016        }
    017
    018        public void run()
    019        {
    020            while (this.mc.running)
    021            {
    022                try
    023                {
    024                    Thread.sleep(2147483647L);
    025                }
    026                catch (InterruptedException var2)
    027                {
    028                    ;
    029                }
    030            }
    031        }
    032    }