001 package net.minecraft.client; 002 003 import cpw.mods.fml.relauncher.Side; 004 import cpw.mods.fml.relauncher.SideOnly; 005 import java.util.concurrent.Callable; 006 007 @SideOnly(Side.CLIENT) 008 public 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 var1 = ClientBrandRetriever.getClientModName(); 024 return !var1.equals("vanilla") ? "Definitely; Client brand changed to \'" + var1 + "\'" : (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 }