Record Class UnknownLoginQueryRequestPayload
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.login.UnknownLoginQueryRequestPayload
- Record Components:
id-
- All Implemented Interfaces:
LoginQueryRequestPayload
public record UnknownLoginQueryRequestPayload(Identifier id)
extends Record
implements LoginQueryRequestPayload
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/login/UnknownLoginQueryRequestPayloadintermediary net/minecraft/class_8597official ajenamed idintermediary comp_1571official a
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
id
The field for theidrecord component.
-
-
Constructor Details
-
UnknownLoginQueryRequestPayload
-
-
Method Details
-
write
- Specified by:
writein interfaceLoginQueryRequestPayload- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/login/LoginQueryRequestPayload;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_52296Lnet/minecraft/class_8595;method_52296(Lnet/minecraft/class_2540;)Vofficial aLajc;a(Lvw;)V
-
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). -
id
Returns the value of theidrecord component.- Specified by:
idin interfaceLoginQueryRequestPayload- Returns:
- the value of the
idrecord component
-