Project164/src/main/java/net/minecraft/src/ICommandSender.java

24 lines
542 B
Java

package net.minecraft.src;
public interface ICommandSender
{
/**
* Gets the name of this command sender (usually username, but possibly "Rcon")
*/
String getCommandSenderName();
void sendChatToPlayer(String var1);
/**
* Returns true if the command sender is allowed to use the given command.
*/
boolean canCommandSenderUseCommand(int var1, String var2);
/**
* Return the position for this command sender.
*/
ChunkCoordinates getPlayerCoordinates();
World getEntityWorld();
}