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