    001package net.minecraft.command;
    002
    003import net.minecraft.util.ChunkCoordinates;
    004
    005public 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 s);
    013
    014    /**
    015     * Returns true if the command sender is allowed to use the given command.
    016     */
    017    boolean canCommandSenderUseCommand(int i, String s);
    018
    019    /**
    020     * Translates and formats the given string key with the given arguments.
    021     */
    022    String translateString(String s, Object ... var2);
    023
    024    /**
    025     * Return the position for this command sender.
    026     */
    027    ChunkCoordinates getPlayerCoordinates();
    028}