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 p_145747_1_)
Notifies this sender of some sort of information.
|
boolean |
canCommandSenderUseCommand(int p_70003_1_,
java.lang.String p_70003_2_)
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 java.lang.String getCommandSenderName()
getCommandSenderName in interface ICommandSenderpublic IChatComponent func_145748_c_()
func_145748_c_ in interface ICommandSenderpublic void addChatMessage(IChatComponent p_145747_1_)
addChatMessage in interface ICommandSenderpublic boolean canCommandSenderUseCommand(int p_70003_1_,
java.lang.String p_70003_2_)
canCommandSenderUseCommand in interface ICommandSenderpublic ChunkCoordinates getPlayerCoordinates()
getPlayerCoordinates in interface ICommandSenderpublic World getEntityWorld()
getEntityWorld in interface ICommandSenderpublic void resetLog()
public java.lang.String getLogContents()