    001package net.minecraft.client;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005
    006@SideOnly(Side.CLIENT)
    007public 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}