Package net.minecraft

Record Class class_7479.class_7481

java.lang.Object
java.lang.Record
net.minecraft.class_7479.class_7481
Record Components:
receivedTimeStamp -
query -
response -
Enclosing class:
class_7479

@Environment(CLIENT) private static record class_7479.class_7481(long receivedTimeStamp, String query, @Nullable Text response) extends Record
Mappings:
Namespace Name
official efo$b
intermediary net/minecraft/class_7479$class_7481
named net/minecraft/class_7479$class_7481
official a
intermediary comp_826
named receivedTimeStamp
official b
intermediary comp_827
named query
official c
intermediary comp_828
named response
  • Field Details

    • receivedTimeStamp

      private final long receivedTimeStamp
      The field for the receivedTimeStamp record component.
    • query

      private final String query
      The field for the query record component.
    • response

      @Nullable private final @Nullable Text response
      The field for the response record component.
  • Constructor Details

  • Method Details

    • method_44045

      public boolean method_44045(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo$b;a(Ljava/lang/String;)Z
      intermediary method_44045 Lnet/minecraft/class_7479$class_7481;method_44045(Ljava/lang/String;)Z
      named method_44045 Lnet/minecraft/class_7479$class_7481;method_44045(Ljava/lang/String;)Z
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • receivedTimeStamp

      public long receivedTimeStamp()
      Returns the value of the receivedTimeStamp record component.
      Returns:
      the value of the receivedTimeStamp record component
    • query

      public String query()
      Returns the value of the query record component.
      Returns:
      the value of the query record component
    • response

      @Nullable public @Nullable Text response()
      Returns the value of the response record component.
      Returns:
      the value of the response record component