public class ServerCommandOutput extends Object implements CommandOutput
Modifier and Type | Field and Description |
---|---|
private StringBuffer |
buffer |
private MinecraftServer |
server |
DUMMY
Constructor and Description |
---|
ServerCommandOutput(MinecraftServer server) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
void |
clear() |
ServerCommandSource |
createReconCommandSource() |
void |
sendSystemMessage(Text message) |
boolean |
shouldBroadcastConsoleToOps() |
boolean |
shouldReceiveFeedback() |
boolean |
shouldTrackOutput() |
private final StringBuffer buffer
private final MinecraftServer server
public ServerCommandOutput(MinecraftServer server)
public void clear()
public String asString()
public ServerCommandSource createReconCommandSource()
public void sendSystemMessage(Text message)
sendSystemMessage
in interface CommandOutput
public boolean shouldReceiveFeedback()
shouldReceiveFeedback
in interface CommandOutput
public boolean shouldTrackOutput()
shouldTrackOutput
in interface CommandOutput
public boolean shouldBroadcastConsoleToOps()
shouldBroadcastConsoleToOps
in interface CommandOutput