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