2022-05-12 09:36:43 -04:00
|
|
|
CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket
|
|
|
|
COMMENT A packet used to execute commands on the server.
|
|
|
|
COMMENT
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT <p>This truncates the command to at most 256 characters before sending to the
|
|
|
|
COMMENT server on the client. If the server receives the command longer than 256 characters,
|
|
|
|
COMMENT it will reject the message and disconnect the client.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT <p>If the command contains an invalid character (see {@link
|
|
|
|
COMMENT net.minecraft.SharedConstants#isValidChar isValidChar}), the server will
|
|
|
|
COMMENT reject the command and disconnect the client.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Commands that took more than {@link ChatMessageC2SPacket#TIME_TO_LIVE} to reach
|
2022-06-14 13:18:21 -04:00
|
|
|
COMMENT the server are considered expired and log warnings on the server. Commands will be
|
|
|
|
COMMENT discarded if the server receives them in improper order.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand
|
|
|
|
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
|
2022-05-23 08:07:30 -04:00
|
|
|
FIELD comp_809 timestamp Ljava/time/Instant;
|
2022-05-18 12:58:03 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;Lnet/minecraft/class_7450;Z)V
|
2022-05-12 09:36:43 -04:00
|
|
|
ARG 1 command
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 2 timestamp
|
2022-05-12 09:36:43 -04:00
|
|
|
ARG 3 argumentSignatures
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 4 signedPreview
|
2022-05-12 09:36:43 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_2540;)V
|
|
|
|
ARG 1 buf
|
2022-05-23 08:07:30 -04:00
|
|
|
METHOD comp_809 timestamp ()Ljava/time/Instant;
|
2022-05-12 09:36:43 -04:00
|
|
|
METHOD method_43896 createArgumentsSigner (Ljava/util/UUID;)Lnet/minecraft/class_7448;
|
|
|
|
ARG 1 sender
|