mirror of https://github.com/FabricMC/yarn.git
19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
CLASS net/minecraft/class_7492 net/minecraft/network/message/MessageDecorator
|
|
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
|
|
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.
|
|
FIELD field_39384 NOOP Lnet/minecraft/class_7492;
|
|
COMMENT An empty message decorator that returns the original message.
|
|
METHOD decorate (Lnet/minecraft/class_3222;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
|
|
ARG 1 sender
|
|
ARG 2 message
|
|
METHOD method_44303 (Lnet/minecraft/class_3222;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
|
|
ARG 0 sender
|
|
ARG 1 message
|