    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 CallableUpdatingScreenName implements Callable
    009{
    010    final Minecraft field_90055_a;
    011
    012    public CallableUpdatingScreenName(Minecraft par1Minecraft)
    013    {
    014        this.field_90055_a = par1Minecraft;
    015    }
    016
    017    public String func_90054_a()
    018    {
    019        return this.field_90055_a.currentScreen.getClass().getCanonicalName();
    020    }
    021
    022    public Object call()
    023    {
    024        return this.func_90054_a();
    025    }
    026}