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 ICommandSourcepublic boolean shouldReceiveFeedback()
shouldReceiveFeedback in interface ICommandSourcepublic boolean shouldReceiveErrors()
shouldReceiveErrors in interface ICommandSourcepublic boolean allowLogging()
allowLogging in interface ICommandSource