Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Interface ICommandSender

All Known Implementing Classes:
  DedicatedServer, EntityClientPlayerMP, EntityOtherPlayerMP, EntityPlayer, EntityPlayerMP, EntityPlayerSP, IntegratedServer, MinecraftServer, RConConsoleSource, TileEntityCommandBlock

    public interface ICommandSender

Method Summary
`boolean` | `canCommandSenderUseCommand(int var1, String var2)` Returns true if the command sender is allowed to use the given command.
`String` | `getCommandSenderName()` Gets the name of this command sender (usually username, but possibly "Rcon")
`ChunkCoordinates` | `getPlayerCoordinates()` Return the coordinates for this player as ChunkCoordinates.
`void` | `sendChatToPlayer(String var1)`
`String` | `translateString(String var1, Object... var2)` Translates and formats the given string key with the given arguments.

Method Detail

### getCommandSenderName

    String getCommandSenderName()

  Gets the name of this command sender (usually username, but possibly "Rcon")

### sendChatToPlayer

    void sendChatToPlayer(String var1)

### canCommandSenderUseCommand

    boolean canCommandSenderUseCommand(int var1,
                                       String var2)

  Returns true if the command sender is allowed to use the given command.

### translateString

    String translateString(String var1,
                           Object... var2)

  Translates and formats the given string key with the given arguments.

### getPlayerCoordinates

    ChunkCoordinates getPlayerCoordinates()

  Return the coordinates for this player as ChunkCoordinates.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD