Package net.minecraft.src
Interface ICommandSender
- All Known Implementing Classes:
AbstractClientPlayer,DedicatedServer,EntityClientPlayerMP,EntityOtherPlayerMP,EntityPlayer,EntityPlayerMP,EntityPlayerSP,IntegratedServer,MinecraftServer,RConConsoleSource,TileEntityCommandBlock
public interface ICommandSender
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanCommandSenderUseCommand(int var1, String var2) Returns true if the command sender is allowed to use the given command.Gets the name of this command sender (usually username, but possibly "Rcon")Return the position for this command sender.void
-
Method Details
-
getCommandSenderName
String getCommandSenderName()Gets the name of this command sender (usually username, but possibly "Rcon") -
sendChatToPlayer
-
canCommandSenderUseCommand
Returns true if the command sender is allowed to use the given command. -
getPlayerCoordinates
ChunkCoordinates getPlayerCoordinates()Return the position for this command sender. -
getEntityWorld
World getEntityWorld()
-