public interface ICommandSender
Modifier and Type | Method and Description |
---|---|
boolean |
canCommandSenderUseCommand(int i,
String s)
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")
|
World |
getEntityWorld() |
ChunkCoordinates |
getPlayerCoordinates()
Return the position for this command sender.
|
void |
sendChatToPlayer(ChatMessageComponent chatmessagecomponent) |
String getCommandSenderName()
void sendChatToPlayer(ChatMessageComponent chatmessagecomponent)
boolean canCommandSenderUseCommand(int i, String s)
ChunkCoordinates getPlayerCoordinates()
World getEntityWorld()