Record Class RealmsNotification.class_8815

java.lang.Object
java.lang.Record
net.minecraft.client.realms.dto.RealmsNotification.class_8815
Record Components:
url -
urlText -
Enclosing class:
RealmsNotification

@Environment(CLIENT) private static record RealmsNotification.class_8815(String url, RealmsText urlText) extends Record
Mappings:
Namespace Name
official emp$b
intermediary net/minecraft/class_8204$class_8815
named net/minecraft/client/realms/dto/RealmsNotification$class_8815
official a
intermediary comp_1974
named url
official b
intermediary comp_1975
named urlText
  • Field Details

    • url

      private final String url
      The field for the url record component.
    • urlText

      private final RealmsText urlText
      The field for the urlText record component.
    • field_46548

      private static final String field_46548
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lemp$b;c:Ljava/lang/String;
      intermediary field_46548 Lnet/minecraft/class_8204$class_8815;field_46548:Ljava/lang/String;
      named field_46548 Lnet/minecraft/client/realms/dto/RealmsNotification$class_8815;field_46548:Ljava/lang/String;
    • field_46549

      private static final String field_46549
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lemp$b;d:Ljava/lang/String;
      intermediary field_46549 Lnet/minecraft/class_8204$class_8815;field_46549:Ljava/lang/String;
      named field_46549 Lnet/minecraft/client/realms/dto/RealmsNotification$class_8815;field_46549:Ljava/lang/String;
  • Constructor Details

  • Method Details

    • method_54113

      public static RealmsNotification.class_8815 method_54113(com.google.gson.JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official a Lemp$b;a(Lcom/google/gson/JsonObject;)Lemp$b;
      intermediary method_54113 Lnet/minecraft/class_8204$class_8815;method_54113(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_8204$class_8815;
      named method_54113 Lnet/minecraft/client/realms/dto/RealmsNotification$class_8815;method_54113(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsNotification$class_8815;
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • url

      public String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • urlText

      public RealmsText urlText()
      Returns the value of the urlText record component.
      Returns:
      the value of the urlText record component