    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 CallableModded implements Callable
    009{
    010    /** Reference to the Minecraft object. */
    011    final Minecraft mc;
    012
    013    public CallableModded(Minecraft par1Minecraft)
    014    {
    015        this.mc = par1Minecraft;
    016    }
    017
    018    /**
    019     * Gets if Client Profiler (aka Snooper) is enabled.
    020     */
    021    public String getClientProfilerEnabled()
    022    {
    023        String s = ClientBrandRetriever.getClientModName();
    024        return !s.equals("vanilla") ? "Definitely; Client brand changed to \'" + s + "\'" : (Minecraft.class.getSigners() == null ? "Very likely; Jar signature invalidated" : "Probably not. Jar signature remains and client brand is untouched.");
    025    }
    026
    027    public Object call()
    028    {
    029        return this.getClientProfilerEnabled();
    030    }
    031}