    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    import org.lwjgl.Sys;
    008
    009    @SideOnly(Side.CLIENT)
    010    public class CallableLWJGLVersion implements Callable
    011    {
    012        /** Gets Minecraft LWJGL version. */
    013        final Minecraft minecraftLWJGLVersion;
    014
    015        public CallableLWJGLVersion(Minecraft par1Minecraft)
    016        {
    017            this.minecraftLWJGLVersion = par1Minecraft;
    018        }
    019
    020        public String getLWJGLVersion()
    021        {
    022            return Sys.getVersion();
    023        }
    024
    025        public Object call()
    026        {
    027            return this.getLWJGLVersion();
    028        }
    029    }