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