public class RConConsoleSource extends java.lang.Object implements ICommandSender
Modifier and Type | Field and Description |
---|---|
static RConConsoleSource |
instance
Single instance of RConConsoleSource
|
Constructor and Description |
---|
RConConsoleSource() |
Modifier and Type | Method and Description |
---|---|
void |
addChatMessage(IChatComponent ichatcomponent)
Notifies this sender of some sort of information.
|
boolean |
canCommandSenderUseCommand(int par1,
java.lang.String par2Str)
Returns true if the command sender is allowed to use the given command.
|
IChatComponent |
func_145748_c_() |
java.lang.String |
getCommandSenderName()
Gets the name of this command sender (usually username, but possibly "Rcon")
|
World |
getEntityWorld() |
java.lang.String |
getLogContents()
Gets the contents of the RCon log
|
ChunkCoordinates |
getPlayerCoordinates()
Return the position for this command sender.
|
void |
resetLog()
Clears the RCon log
|
public static final RConConsoleSource instance
public void resetLog()
public java.lang.String getLogContents()
public java.lang.String getCommandSenderName()
getCommandSenderName
in interface ICommandSender
public IChatComponent func_145748_c_()
func_145748_c_
in interface ICommandSender
public void addChatMessage(IChatComponent ichatcomponent)
addChatMessage
in interface ICommandSender
public boolean canCommandSenderUseCommand(int par1, java.lang.String par2Str)
canCommandSenderUseCommand
in interface ICommandSender
public ChunkCoordinates getPlayerCoordinates()
getPlayerCoordinates
in interface ICommandSender
public World getEntityWorld()
getEntityWorld
in interface ICommandSender