Record Class EmptyLoginQueryResponse
java.lang.Object
java.lang.Record
net.minecraft.network.packet.c2s.login.EmptyLoginQueryResponse
- All Implemented Interfaces:
LoginQueryResponse
- Mappings:
Namespace Name official adkintermediary net/minecraft/class_8596named net/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aEmptyLoginQueryResponserecord class. -
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.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLadk;a:Ladk;intermediary field_44980Lnet/minecraft/class_8596;field_44980:Lnet/minecraft/class_8596;named INSTANCELnet/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse;INSTANCE:Lnet/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse;
-
-
Constructor Details
-
EmptyLoginQueryResponse
public EmptyLoginQueryResponse()Creates an instance of aEmptyLoginQueryResponserecord class.
-
-
Method Details
-
write
- Specified by:
writein interfaceLoginQueryResponse- Mappings:
Namespace Name Mixin selector official aLadi;a(Lsh;)Vintermediary method_52295Lnet/minecraft/class_8594;method_52295(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/c2s/login/LoginQueryResponse;write(Lnet/minecraft/network/PacketByteBuf;)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.
-