Package net.minecraft.server.rcon
Class RconConsoleSource
java.lang.Object
net.minecraft.server.rcon.RconConsoleSource
- All Implemented Interfaces:
CommandSource
-
Field Summary
Modifier and TypeFieldDescriptionprivate StringBuffer
private static String
private static Component
private MinecraftServer
Fields inherited from interface net.minecraft.commands.CommandSource
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
sendMessage(Component p_11509_, UUID p_11510_)
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:
- Constant Field Values
-
RCON_COMPONENT
-
buffer
-
server
-
-
Constructor Details
-
RconConsoleSource
-
-
Method Details
-
prepareForCommand
public void prepareForCommand() -
getCommandResponse
-
createCommandSourceStack
-
sendMessage
- Specified by:
sendMessage
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
-