Package net.minecraft.command.argument
Record Class MessageArgumentType.class_7515
java.lang.Object
java.lang.Record
net.minecraft.command.argument.MessageArgumentType.class_7515
- Record Components:
plain-signature-signedPreview-
- Enclosing class:
MessageArgumentType
public static record MessageArgumentType.class_7515(Text plain, ChatMessageSignature signature, boolean signedPreview)
extends Record
- Mappings:
Namespace Name official ef$aintermediary net/minecraft/class_2196$class_7515named net/minecraft/command/argument/MessageArgumentType$class_7515official aintermediary comp_855named plainofficial bintermediary comp_856named signatureofficial cintermediary comp_857named signedPreview
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for theplainrecord component.private final ChatMessageSignatureThe field for thesignaturerecord component.private final booleanThe field for thesignedPreviewrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7515(Text text, ChatMessageSignature chatMessageSignature, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_44262(ServerCommandSource serverCommandSource) private Message<SignedChatMessage>method_44263(ServerCommandSource serverCommandSource, Message<SignedChatMessage> message) private CompletableFuture<Message<Text>>method_44264(ServerCommandSource serverCommandSource, Text text) plain()Returns the value of theplainrecord component.Returns the value of thesignaturerecord component.booleanReturns the value of thesignedPreviewrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
plain
The field for theplainrecord component. -
signature
The field for thesignaturerecord component. -
signedPreview
private final boolean signedPreviewThe field for thesignedPreviewrecord component.
-
-
Constructor Details
-
class_7515
-
-
Method Details
-
method_44262
public CompletableFuture<Message<SignedChatMessage>> method_44262(ServerCommandSource serverCommandSource) - Mappings:
Namespace Name Mixin selector official aLef$a;a(Ldr;)Ljava/util/concurrent/CompletableFuture;intermediary method_44262Lnet/minecraft/class_2196$class_7515;method_44262(Lnet/minecraft/class_2168;)Ljava/util/concurrent/CompletableFuture;named method_44262Lnet/minecraft/command/argument/MessageArgumentType$class_7515;method_44262(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/concurrent/CompletableFuture;
-
method_44263
private Message<SignedChatMessage> method_44263(ServerCommandSource serverCommandSource, Message<SignedChatMessage> message) - Mappings:
Namespace Name Mixin selector official aLef$a;a(Ldr;Lagd;)Lagd;intermediary method_44263Lnet/minecraft/class_2196$class_7515;method_44263(Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;named method_44263Lnet/minecraft/command/argument/MessageArgumentType$class_7515;method_44263(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/filter/Message;)Lnet/minecraft/server/filter/Message;
-
method_44264
private CompletableFuture<Message<Text>> method_44264(ServerCommandSource serverCommandSource, Text text) - Mappings:
Namespace Name Mixin selector official aLef$a;a(Ldr;Lrm;)Ljava/util/concurrent/CompletableFuture;intermediary method_44264Lnet/minecraft/class_2196$class_7515;method_44264(Lnet/minecraft/class_2168;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;named method_44264Lnet/minecraft/command/argument/MessageArgumentType$class_7515;method_44264(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/text/Text;)Ljava/util/concurrent/CompletableFuture;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
plain
Returns the value of theplainrecord component.- Returns:
- the value of the
plainrecord component
-
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
signedPreview
public boolean signedPreview()Returns the value of thesignedPreviewrecord component.- Returns:
- the value of the
signedPreviewrecord component
-