001 package net.minecraft.src; 002 003 public interface ICommandSender 004 { 005 /** 006 * Gets the name of this command sender (usually username, but possibly "Rcon") 007 */ 008 String getCommandSenderName(); 009 010 void sendChatToPlayer(String var1); 011 012 /** 013 * Returns true if the command sender is allowed to use the given command. 014 */ 015 boolean canCommandSenderUseCommand(int var1, String var2); 016 017 /** 018 * Translates and formats the given string key with the given arguments. 019 */ 020 String translateString(String var1, Object ... var2); 021 022 ChunkCoordinates func_82114_b(); 023 }