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