Package net.minecraft.server.rcon
Class RconConsoleSource
java.lang.Object
net.minecraft.server.rcon.RconConsoleSource
- All Implemented Interfaces:
CommandSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringBufferprivate static final Stringprivate static final Componentprivate final MinecraftServerFields inherited from interface net.minecraft.commands.CommandSource
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidvoidsendSystemMessage(Component p_215653_) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
sendSystemMessagein interfaceCommandSource
-
acceptsSuccess
public boolean acceptsSuccess()- Specified by:
acceptsSuccessin interfaceCommandSource
-
acceptsFailure
public boolean acceptsFailure()- Specified by:
acceptsFailurein interfaceCommandSource
-
shouldInformAdmins
public boolean shouldInformAdmins()- Specified by:
shouldInformAdminsin interfaceCommandSource
-