Package net.minecraft.network.message
Record Class ArgumentSignatureDataMap
java.lang.Object
java.lang.Record
net.minecraft.network.message.ArgumentSignatureDataMap
- Record Components:
entries-
A record holding the signatures for all signable arguments of an executed command.
- See Also:
- Mappings:
Namespace Name named net/minecraft/network/message/ArgumentSignatureDataMapintermediary net/minecraft/class_7450official fanamed entriesintermediary comp_912official b
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA functional interface that signs an argument of a command.static final recordAn entry of the signatures map, consisting of the argument's name and signature data. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArgumentSignatureDataMapprivate final List<ArgumentSignatureDataMap.Entry> The field for theentriesrecord component.private static final intprivate static final int -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static ArgumentSignatureDataMapsign(SignedArgumentList<?> arguments, ArgumentSignatureDataMap.ArgumentSigner signer) Returns the signature map withargumentssigned withsigner.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
entries
The field for theentriesrecord component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/network/message/ArgumentSignatureDataMap;EMPTY:Lnet/minecraft/network/message/ArgumentSignatureDataMap;intermediary field_39807Lnet/minecraft/class_7450;field_39807:Lnet/minecraft/class_7450;official aLfa;a:Lfa;
-
MAX_ARGUMENTS
private static final int MAX_ARGUMENTS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ARGUMENTSLnet/minecraft/network/message/ArgumentSignatureDataMap;MAX_ARGUMENTS:Iintermediary field_39418Lnet/minecraft/class_7450;field_39418:Iofficial cLfa;c:I
-
MAX_ARGUMENT_NAME_LENGTH
private static final int MAX_ARGUMENT_NAME_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ARGUMENT_NAME_LENGTHLnet/minecraft/network/message/ArgumentSignatureDataMap;MAX_ARGUMENT_NAME_LENGTH:Iintermediary field_39185Lnet/minecraft/class_7450;field_39185:Iofficial dLfa;d:I
-
-
Constructor Details
-
ArgumentSignatureDataMap
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/message/ArgumentSignatureDataMap;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_7450;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lfa;<init>(Lvw;)V
-
ArgumentSignatureDataMap
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/message/ArgumentSignatureDataMap;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_43749Lnet/minecraft/class_7450;method_43749(Lnet/minecraft/class_2540;)Vofficial aLfa;a(Lvw;)V
-
sign
public static ArgumentSignatureDataMap sign(SignedArgumentList<?> arguments, ArgumentSignatureDataMap.ArgumentSigner signer) Returns the signature map withargumentssigned withsigner.- Returns:
- the signature map with
argumentssigned withsigner - Mappings:
Namespace Name Mixin selector named signLnet/minecraft/network/message/ArgumentSignatureDataMap;sign(Lnet/minecraft/command/argument/SignedArgumentList;Lnet/minecraft/network/message/ArgumentSignatureDataMap$ArgumentSigner;)Lnet/minecraft/network/message/ArgumentSignatureDataMap;intermediary method_44797Lnet/minecraft/class_7450;method_44797(Lnet/minecraft/class_7644;Lnet/minecraft/class_7450$class_7600;)Lnet/minecraft/class_7450;official aLfa;a(Lxr;Lfa$b;)Lfa;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-