public class RConConsoleSource extends java.lang.Object implements ICommandSource
Modifier and Type | Field and Description |
---|---|
private java.lang.StringBuffer |
buffer |
private MinecraftServer |
server |
DUMMY
Constructor and Description |
---|
RConConsoleSource(MinecraftServer serverIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowLogging() |
CommandSource |
getCommandSource() |
java.lang.String |
getLogContents() |
void |
resetLog() |
void |
sendMessage(ITextComponent component) |
boolean |
shouldReceiveErrors() |
boolean |
shouldReceiveFeedback() |
private final java.lang.StringBuffer buffer
private final MinecraftServer server
public RConConsoleSource(MinecraftServer serverIn)
public void resetLog()
public java.lang.String getLogContents()
public CommandSource getCommandSource()
public void sendMessage(ITextComponent component)
sendMessage
in interface ICommandSource
public boolean shouldReceiveFeedback()
shouldReceiveFeedback
in interface ICommandSource
public boolean shouldReceiveErrors()
shouldReceiveErrors
in interface ICommandSource
public boolean allowLogging()
allowLogging
in interface ICommandSource