Record Class ReporterEnvironment

java.lang.Object
java.lang.Record
net.minecraft.client.session.report.ReporterEnvironment
Record Components:
clientVersion -
server -

@Environment(CLIENT) public record ReporterEnvironment(String clientVersion, ReporterEnvironment.Server server) extends Record
Mappings:
Namespace Name
named net/minecraft/client/session/report/ReporterEnvironment
intermediary net/minecraft/class_7569
official ggp
named clientVersion
intermediary comp_880
official a
named server
intermediary comp_881
official b
  • Field Details

  • Constructor Details

  • Method Details

    • ofIntegratedServer

      public static ReporterEnvironment ofIntegratedServer()
      Mappings:
      Namespace Name Mixin selector
      named ofIntegratedServer Lnet/minecraft/client/session/report/ReporterEnvironment;ofIntegratedServer()Lnet/minecraft/client/session/report/ReporterEnvironment;
      intermediary method_44586 Lnet/minecraft/class_7569;method_44586()Lnet/minecraft/class_7569;
      official a Lggp;a()Lggp;
    • ofThirdPartyServer

      public static ReporterEnvironment ofThirdPartyServer(String ip)
      Mappings:
      Namespace Name Mixin selector
      named ofThirdPartyServer Lnet/minecraft/client/session/report/ReporterEnvironment;ofThirdPartyServer(Ljava/lang/String;)Lnet/minecraft/client/session/report/ReporterEnvironment;
      intermediary method_44589 Lnet/minecraft/class_7569;method_44589(Ljava/lang/String;)Lnet/minecraft/class_7569;
      official a Lggp;a(Ljava/lang/String;)Lggp;
    • ofRealm

      public static ReporterEnvironment ofRealm(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      named ofRealm Lnet/minecraft/client/session/report/ReporterEnvironment;ofRealm(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/session/report/ReporterEnvironment;
      intermediary method_44587 Lnet/minecraft/class_7569;method_44587(Lnet/minecraft/class_4877;)Lnet/minecraft/class_7569;
      official a Lggp;a(Lfii;)Lggp;
    • ofServer

      Mappings:
      Namespace Name Mixin selector
      named ofServer Lnet/minecraft/client/session/report/ReporterEnvironment;ofServer(Lnet/minecraft/client/session/report/ReporterEnvironment$Server;)Lnet/minecraft/client/session/report/ReporterEnvironment;
      intermediary method_44588 Lnet/minecraft/class_7569;method_44588(Lnet/minecraft/class_7569$class_7570;)Lnet/minecraft/class_7569;
      official a Lggp;a(Lggp$a;)Lggp;
    • toClientInfo

      public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfo toClientInfo()
      Mappings:
      Namespace Name Mixin selector
      named toClientInfo Lnet/minecraft/client/session/report/ReporterEnvironment;toClientInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
      intermediary method_44590 Lnet/minecraft/class_7569;method_44590()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
      official b Lggp;b()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
    • toThirdPartyServerInfo

      @Nullable public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ThirdPartyServerInfo toThirdPartyServerInfo()
      Mappings:
      Namespace Name Mixin selector
      named toThirdPartyServerInfo Lnet/minecraft/client/session/report/ReporterEnvironment;toThirdPartyServerInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
      intermediary method_44591 Lnet/minecraft/class_7569;method_44591()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
      official c Lggp;c()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
    • toRealmInfo

      @Nullable public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.RealmInfo toRealmInfo()
      Mappings:
      Namespace Name Mixin selector
      named toRealmInfo Lnet/minecraft/client/session/report/ReporterEnvironment;toRealmInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
      intermediary method_44592 Lnet/minecraft/class_7569;method_44592()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
      official d Lggp;d()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
    • getVersion

      private static String getVersion()
      Mappings:
      Namespace Name Mixin selector
      named getVersion Lnet/minecraft/client/session/report/ReporterEnvironment;getVersion()Ljava/lang/String;
      intermediary method_44593 Lnet/minecraft/class_7569;method_44593()Ljava/lang/String;
      official g Lggp;g()Ljava/lang/String;
    • 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.
    • clientVersion

      public String clientVersion()
      Returns the value of the clientVersion record component.
      Returns:
      the value of the clientVersion record component
    • server

      Returns the value of the server record component.
      Returns:
      the value of the server record component