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