Package net.minecraft.network.message
Record Class SignedCommandArguments.Impl
java.lang.Object
java.lang.Record
net.minecraft.network.message.SignedCommandArguments.Impl
- Record Components:
arguments
-
- All Implemented Interfaces:
SignedCommandArguments
- Enclosing interface:
SignedCommandArguments
public static record SignedCommandArguments.Impl(Map<String,SignedMessage> arguments)
extends Record
implements SignedCommandArguments
A basic implementation of
SignedCommandArguments
.- Mappings:
Namespace Name named net/minecraft/network/message/SignedCommandArguments$Impl
intermediary net/minecraft/class_7448$class_7449
official en$a
named arguments
intermediary comp_971
official b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.SignedCommandArguments
SignedCommandArguments.Impl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<String, SignedMessage> The field for thearguments
record component.Fields inherited from interface net.minecraft.network.message.SignedCommandArguments
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearguments
record component.final boolean
Indicates whether some other object is "equal to" this one.getMessage
(String argumentName) final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
arguments
The field for thearguments
record component.
-
-
Constructor Details
-
Impl
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceSignedCommandArguments
- Mappings:
Namespace Name Mixin selector named getMessage
Lnet/minecraft/network/message/SignedCommandArguments;getMessage(Ljava/lang/String;)Lnet/minecraft/network/message/SignedMessage;
intermediary method_44907
Lnet/minecraft/class_7448;method_44907(Ljava/lang/String;)Lnet/minecraft/class_7471;
official a
Len;a(Ljava/lang/String;)Lyf;
-
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)
. -
arguments
Returns the value of thearguments
record component.- Returns:
- the value of the
arguments
record component
-