Record Class EmptyLoginQueryResponse

java.lang.Object
java.lang.Record
net.minecraft.network.packet.c2s.login.EmptyLoginQueryResponse
All Implemented Interfaces:
LoginQueryResponse

public record EmptyLoginQueryResponse() extends Record implements LoginQueryResponse
Mappings:
Namespace Name
official adk
intermediary net/minecraft/class_8596
named net/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse
  • Field Details

    • INSTANCE

      public static final EmptyLoginQueryResponse INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ladk;a:Ladk;
      intermediary field_44980 Lnet/minecraft/class_8596;field_44980:Lnet/minecraft/class_8596;
      named INSTANCE Lnet/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse;INSTANCE:Lnet/minecraft/network/packet/c2s/login/EmptyLoginQueryResponse;
  • Constructor Details

    • EmptyLoginQueryResponse

      public EmptyLoginQueryResponse()
      Creates an instance of a EmptyLoginQueryResponse record class.
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface LoginQueryResponse
      Mappings:
      Namespace Name Mixin selector
      official a Ladi;a(Lsh;)V
      intermediary method_52295 Lnet/minecraft/class_8594;method_52295(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/c2s/login/LoginQueryResponse;write(Lnet/minecraft/network/PacketByteBuf;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.