yarn/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.m...

30 lines
1.7 KiB
Plaintext
Raw Normal View History

CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket
COMMENT A packet used to execute commands on the server.
COMMENT
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.
COMMENT
COMMENT <p>If the command contains an invalid character (see {@link
COMMENT net.minecraft.SharedConstants#isValidChar isValidChar}) or if the server receives
COMMENT the commands in improper order, the server will reject the command and disconnect
COMMENT the client.
COMMENT
COMMENT <p>Commands that took more than {@link SignedMessage#SERVERBOUND_TIME_TO_LIVE}
COMMENT to reach the server are considered expired and log warnings on the server
COMMENT if it contains signed message arguments. If the message takes more than
COMMENT {@link SignedMessage#CLIENTBOUND_TIME_TO_LIVE} to reach the clients (including
COMMENT the time it took to reach the server), the message is not considered secure
COMMENT anymore by the clients, and may be discarded depending on the clients' options.
COMMENT
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
FIELD comp_809 timestamp Ljava/time/Instant;
2022-07-08 09:17:43 -04:00
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;JLnet/minecraft/class_7450;Z)V
ARG 1 command
ARG 2 timestamp
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_809 timestamp ()Ljava/time/Instant;
2022-07-08 09:17:43 -04:00
METHOD method_43896 createArgumentsSigner (Lnet/minecraft/class_3222;)Lnet/minecraft/class_7448;