Package net.minecraft.server.rcon
Class RconCommandOutput
java.lang.Object
net.minecraft.server.rcon.RconCommandOutput
- All Implemented Interfaces:
CommandOutput
public class RconCommandOutput extends Object implements CommandOutput
-
Field Summary
Fields Modifier and Type Field Description private StringBuffer
buffer
private static Text
RCON_NAME
private MinecraftServer
server
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description RconCommandOutput(MinecraftServer server)
-
Method Summary
Modifier and Type Method Description String
asString()
void
clear()
ServerCommandSource
createRconCommandSource()
void
sendSystemMessage(Text message, UUID senderUuid)
boolean
shouldBroadcastConsoleToOps()
boolean
shouldReceiveFeedback()
boolean
shouldTrackOutput()
-
Field Details
-
RCON_NAME
-
buffer
-
server
-
-
Constructor Details
-
RconCommandOutput
-
-
Method Details
-
clear
public void clear() -
asString
-
createRconCommandSource
-
sendSystemMessage
- Specified by:
sendSystemMessage
in interfaceCommandOutput
-
shouldReceiveFeedback
public boolean shouldReceiveFeedback()- Specified by:
shouldReceiveFeedback
in interfaceCommandOutput
-
shouldTrackOutput
public boolean shouldTrackOutput()- Specified by:
shouldTrackOutput
in interfaceCommandOutput
-
shouldBroadcastConsoleToOps
public boolean shouldBroadcastConsoleToOps()- Specified by:
shouldBroadcastConsoleToOps
in interfaceCommandOutput
-