Package net.minecraft
Record Class class_7448.class_7449
java.lang.Object
java.lang.Record
net.minecraft.class_7448.class_7449
- Record Components:
sender-timeStamp-argumentSignatures-
- All Implemented Interfaces:
class_7448
- Enclosing interface:
class_7448
public static record class_7448.class_7449(UUID sender, Instant timeStamp, class_7450 argumentSignatures)
extends Record
implements class_7448
- Mappings:
Namespace Name official dp$aintermediary net/minecraft/class_7448$class_7449named net/minecraft/class_7448$class_7449official bintermediary comp_775named senderofficial cintermediary comp_776named timeStampofficial dintermediary comp_777named argumentSignatures
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_7448
class_7448.class_7449 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_7450The field for theargumentSignaturesrecord component.private final UUIDThe field for thesenderrecord component.private final InstantThe field for thetimeStamprecord component.Fields inherited from interface net.minecraft.class_7448
field_39182 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentSignaturesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sender()Returns the value of thesenderrecord component.signArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string, Text text) Returns the value of thetimeStamprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sender
The field for thesenderrecord component. -
timeStamp
The field for thetimeStamprecord component. -
argumentSignatures
The field for theargumentSignaturesrecord component.
-
-
Constructor Details
-
class_7449
-
-
Method Details
-
signArgument
public class_7471 signArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string, Text text) - Specified by:
signArgumentin interfaceclass_7448
-
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). -
sender
Returns the value of thesenderrecord component.- Returns:
- the value of the
senderrecord component
-
timeStamp
Returns the value of thetimeStamprecord component.- Returns:
- the value of the
timeStamprecord component
-
argumentSignatures
Returns the value of theargumentSignaturesrecord component.- Returns:
- the value of the
argumentSignaturesrecord component
-