2022-06-02 10:14:48 -04:00
|
|
|
CLASS net/minecraft/class_7492 net/minecraft/network/message/MessageDecorator
|
2022-06-01 11:09:05 -04:00
|
|
|
COMMENT Message decorator decorates the chat messages and other messages server-side.
|
|
|
|
COMMENT Currently, only one message decorator can exist at a time. The message decorator
|
|
|
|
COMMENT that is currently used can be obtained by
|
|
|
|
COMMENT {@link net.minecraft.server.MinecraftServer#getMessageDecorator}.
|
|
|
|
COMMENT
|
2022-10-23 11:18:41 -04:00
|
|
|
COMMENT <p>Messages decorated using message decorator are still marked as verifiable
|
|
|
|
COMMENT if there is no change in its text or used fonts. If they change, the message cannot
|
|
|
|
COMMENT be verified. Before 1.19.2, chat previews allowed signing of such message; however
|
|
|
|
COMMENT that feature was removed in 1.19.3.
|
2022-06-01 11:09:05 -04:00
|
|
|
FIELD field_39384 NOOP Lnet/minecraft/class_7492;
|
|
|
|
COMMENT An empty message decorator that returns the original message.
|
2023-08-30 09:12:47 -04:00
|
|
|
METHOD decorate (Lnet/minecraft/class_3222;Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
|
2022-06-01 11:09:05 -04:00
|
|
|
ARG 1 sender
|
2022-10-23 11:18:41 -04:00
|
|
|
ARG 2 message
|
2023-08-30 09:12:47 -04:00
|
|
|
METHOD method_44303 (Lnet/minecraft/class_3222;Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
|
2022-06-01 11:09:05 -04:00
|
|
|
ARG 0 sender
|
|
|
|
ARG 1 message
|