    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import java.util.concurrent.Callable;
    006    import net.minecraft.client.Minecraft;
    007
    008    @SideOnly(Side.CLIENT)
    009    public class CallableTickingScreenName implements Callable
    010    {
    011        /** Reference to the Minecraft object. */
    012        final Minecraft mc;
    013
    014        public CallableTickingScreenName(Minecraft par1Minecraft)
    015        {
    016            this.mc = par1Minecraft;
    017        }
    018
    019        public String getLWJGLVersion()
    020        {
    021            return this.mc.currentScreen.getClass().getCanonicalName();
    022        }
    023
    024        public Object call()
    025        {
    026            return this.getLWJGLVersion();
    027        }
    028    }