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 official fjw
intermediary net/minecraft/class_7569
named net/minecraft/client/session/report/ReporterEnvironment
official a
intermediary comp_880
named clientVersion
official b
intermediary comp_881
named server
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
The field for theclientVersion
record component.private final ReporterEnvironment.Server
The field for theserver
record component. -
Constructor Summary
ConstructorDescriptionReporterEnvironment
(String string, @Nullable ReporterEnvironment.Server server) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientVersion
record component.final boolean
Indicates whether some other object is "equal to" this one.private static String
final int
hashCode()
Returns a hash code value for this object.static ReporterEnvironment
static ReporterEnvironment
ofRealm
(RealmsServer server) static ReporterEnvironment
ofServer
(@Nullable ReporterEnvironment.Server server) static ReporterEnvironment
@Nullable ReporterEnvironment.Server
server()
Returns the value of theserver
record component.com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfo
com.mojang.authlib.yggdrasil.request.AbuseReportRequest.RealmInfo
final String
toString()
Returns a string representation of this record class.com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ThirdPartyServerInfo
-
Field Details
-
clientVersion
The field for theclientVersion
record component. -
server
The field for theserver
record component.
-
-
Constructor Details
-
ReporterEnvironment
-
-
Method Details
-
ofIntegratedServer
- Mappings:
Namespace Name Mixin selector official a
Lfjw;a()Lfjw;
intermediary method_44586
Lnet/minecraft/class_7569;method_44586()Lnet/minecraft/class_7569;
named ofIntegratedServer
Lnet/minecraft/client/session/report/ReporterEnvironment;ofIntegratedServer()Lnet/minecraft/client/session/report/ReporterEnvironment;
-
ofThirdPartyServer
- Mappings:
Namespace Name Mixin selector official a
Lfjw;a(Ljava/lang/String;)Lfjw;
intermediary method_44589
Lnet/minecraft/class_7569;method_44589(Ljava/lang/String;)Lnet/minecraft/class_7569;
named ofThirdPartyServer
Lnet/minecraft/client/session/report/ReporterEnvironment;ofThirdPartyServer(Ljava/lang/String;)Lnet/minecraft/client/session/report/ReporterEnvironment;
-
ofRealm
- Mappings:
Namespace Name Mixin selector official a
Lfjw;a(Lemw;)Lfjw;
intermediary method_44587
Lnet/minecraft/class_7569;method_44587(Lnet/minecraft/class_4877;)Lnet/minecraft/class_7569;
named ofRealm
Lnet/minecraft/client/session/report/ReporterEnvironment;ofRealm(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/session/report/ReporterEnvironment;
-
ofServer
- Mappings:
Namespace Name Mixin selector official a
Lfjw;a(Lfjw$a;)Lfjw;
intermediary method_44588
Lnet/minecraft/class_7569;method_44588(Lnet/minecraft/class_7569$class_7570;)Lnet/minecraft/class_7569;
named ofServer
Lnet/minecraft/client/session/report/ReporterEnvironment;ofServer(Lnet/minecraft/client/session/report/ReporterEnvironment$Server;)Lnet/minecraft/client/session/report/ReporterEnvironment;
-
toClientInfo
public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfo toClientInfo()- Mappings:
Namespace Name Mixin selector official b
Lfjw;b()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
intermediary method_44590
Lnet/minecraft/class_7569;method_44590()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
named toClientInfo
Lnet/minecraft/client/session/report/ReporterEnvironment;toClientInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;
-
toThirdPartyServerInfo
@Nullable public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ThirdPartyServerInfo toThirdPartyServerInfo()- Mappings:
Namespace Name Mixin selector official c
Lfjw;c()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
intermediary method_44591
Lnet/minecraft/class_7569;method_44591()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
named toThirdPartyServerInfo
Lnet/minecraft/client/session/report/ReporterEnvironment;toThirdPartyServerInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
-
toRealmInfo
@Nullable public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.RealmInfo toRealmInfo()- Mappings:
Namespace Name Mixin selector official d
Lfjw;d()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
intermediary method_44592
Lnet/minecraft/class_7569;method_44592()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
named toRealmInfo
Lnet/minecraft/client/session/report/ReporterEnvironment;toRealmInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
-
getVersion
- Mappings:
Namespace Name Mixin selector official g
Lfjw;g()Ljava/lang/String;
intermediary method_44593
Lnet/minecraft/class_7569;method_44593()Ljava/lang/String;
named getVersion
Lnet/minecraft/client/session/report/ReporterEnvironment;getVersion()Ljava/lang/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. -
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
clientVersion
Returns the value of theclientVersion
record component.- Returns:
- the value of the
clientVersion
record component
-
server
Returns the value of theserver
record component.- Returns:
- the value of the
server
record component
-