Package net.minecraft.server.rcon
Class RconConsoleSource
java.lang.Object
net.minecraft.server.rcon.RconConsoleSource
- All Implemented Interfaces:
CommandSource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final StringBuffer
private static final String
private static final Component
private final MinecraftServer
Fields inherited from interface net.minecraft.commands.CommandSource
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
sendSystemMessage
(Component p_215653_) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.commands.CommandSource
alwaysAccepts
-
Field Details
-
RCON
- See Also:
-
RCON_COMPONENT
-
buffer
-
server
-
-
Constructor Details
-
RconConsoleSource
-
-
Method Details
-
prepareForCommand
public void prepareForCommand() -
getCommandResponse
-
createCommandSourceStack
-
sendSystemMessage
- Specified by:
sendSystemMessage
in interfaceCommandSource
-
acceptsSuccess
public boolean acceptsSuccess()- Specified by:
acceptsSuccess
in interfaceCommandSource
-
acceptsFailure
public boolean acceptsFailure()- Specified by:
acceptsFailure
in interfaceCommandSource
-
shouldInformAdmins
public boolean shouldInformAdmins()- Specified by:
shouldInformAdmins
in interfaceCommandSource
-