mirror of https://github.com/FabricMC/yarn.git
53 lines
2.6 KiB
Plaintext
53 lines
2.6 KiB
Plaintext
CLASS net/minecraft/class_7463 net/minecraft/network/MessageFormat
|
|
COMMENT A message format applies on a server-sent message and its sender to
|
|
COMMENT stylize it.
|
|
FIELD field_39219 CODEC Lcom/mojang/serialization/Codec;
|
|
COMMENT The codec for chat format.
|
|
METHOD method_43830 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
|
|
ARG 0 instance
|
|
METHOD method_43831 plain (Ljava/lang/String;)Lnet/minecraft/class_7463;
|
|
COMMENT {@return a message format that applies the translation key with the
|
|
COMMENT sender's name and the message content}
|
|
ARG 0 translationKey
|
|
METHOD method_43832 apply (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
ARG 1 content
|
|
ARG 2 sender
|
|
METHOD method_43833 italicGray (Ljava/lang/String;)Lnet/minecraft/class_7463;
|
|
COMMENT {@return a message format that applies the translation key with the
|
|
COMMENT sender's name and the message content, and applies a gray, italic style}
|
|
ARG 0 translationKey
|
|
METHOD method_43834 getArgs (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)[Lnet/minecraft/class_2561;
|
|
ARG 1 content
|
|
ARG 2 sender
|
|
METHOD method_43835 team (Ljava/lang/String;)Lnet/minecraft/class_7463;
|
|
COMMENT {@return a message format that applies the translation key with the
|
|
COMMENT sender's team name, the sender's name, and the message content}
|
|
ARG 0 translationKey
|
|
CLASS class_7464 Parameter
|
|
COMMENT A parameter for the translation text of a message format.
|
|
FIELD field_39223 CODEC Lcom/mojang/serialization/Codec;
|
|
COMMENT The codec for a message format parameter.
|
|
FIELD field_39224 name Ljava/lang/String;
|
|
FIELD field_39225 argumentFactory Lnet/minecraft/class_7463$class_7464$class_7465;
|
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_7463$class_7464$class_7465;)V
|
|
ARG 3 name
|
|
ARG 4 factory
|
|
METHOD method_43837 getArgument (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
COMMENT {@return an argument for this parameter given the message content and
|
|
COMMENT sender}
|
|
ARG 1 content
|
|
ARG 2 sender
|
|
METHOD method_43838 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
ARG 0 content
|
|
ARG 1 sender
|
|
METHOD method_43839 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
ARG 0 content
|
|
ARG 1 sender
|
|
METHOD method_43840 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
ARG 0 content
|
|
ARG 1 sender
|
|
CLASS class_7465 ArgumentFactory
|
|
METHOD select (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
|
|
ARG 1 content
|
|
ARG 2 sender
|