Package net.minecraft.client.report
Record Class ReporterEnvironment
java.lang.Object
java.lang.Record
net.minecraft.client.report.ReporterEnvironment
- Record Components:
clientVersion-server-
@Environment(CLIENT)
public record ReporterEnvironment(String clientVersion, ReporterEnvironment.Server server)
extends Record
- Mappings:
Namespace Name intermediary net/minecraft/class_7569official fffnamed net/minecraft/client/report/ReporterEnvironmentintermediary comp_880official anamed clientVersionintermediary comp_881official bnamed server
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theclientVersionrecord component.private final ReporterEnvironment.ServerThe field for theserverrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionReporterEnvironment(String string, @Nullable ReporterEnvironment.Server server) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.private static Stringfinal inthashCode()Returns a hash code value for this object.static ReporterEnvironmentstatic ReporterEnvironmentofRealm(RealmsServer server) static ReporterEnvironmentstatic ReporterEnvironmentserver()Returns the value of theserverrecord component.com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfocom.mojang.authlib.yggdrasil.request.AbuseReportRequest.RealmInfofinal StringtoString()Returns a string representation of this record class.com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ThirdPartyServerInfo
-
Field Details
-
clientVersion
The field for theclientVersionrecord component. -
server
The field for theserverrecord component.
-
-
Constructor Details
-
ReporterEnvironment
-
-
Method Details
-
ofIntegratedServer
- Mappings:
Namespace Name Mixin selector intermediary method_44586Lnet/minecraft/class_7569;method_44586()Lnet/minecraft/class_7569;official aLfff;a()Lfff;named ofIntegratedServerLnet/minecraft/client/report/ReporterEnvironment;ofIntegratedServer()Lnet/minecraft/client/report/ReporterEnvironment;
-
ofThirdPartyServer
- Mappings:
Namespace Name Mixin selector intermediary method_44589Lnet/minecraft/class_7569;method_44589(Ljava/lang/String;)Lnet/minecraft/class_7569;official aLfff;a(Ljava/lang/String;)Lfff;named ofThirdPartyServerLnet/minecraft/client/report/ReporterEnvironment;ofThirdPartyServer(Ljava/lang/String;)Lnet/minecraft/client/report/ReporterEnvironment;
-
ofRealm
- Mappings:
Namespace Name Mixin selector intermediary method_44587Lnet/minecraft/class_7569;method_44587(Lnet/minecraft/class_4877;)Lnet/minecraft/class_7569;official aLfff;a(Leji;)Lfff;named ofRealmLnet/minecraft/client/report/ReporterEnvironment;ofRealm(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/report/ReporterEnvironment;
-
ofServer
- Mappings:
Namespace Name Mixin selector intermediary method_44588Lnet/minecraft/class_7569;method_44588(Lnet/minecraft/class_7569$class_7570;)Lnet/minecraft/class_7569;official aLfff;a(Lfff$a;)Lfff;named ofServerLnet/minecraft/client/report/ReporterEnvironment;ofServer(Lnet/minecraft/client/report/ReporterEnvironment$Server;)Lnet/minecraft/client/report/ReporterEnvironment;
-
toClientInfo
public com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfo toClientInfo()- Mappings:
Namespace Name Mixin selector intermediary method_44590Lnet/minecraft/class_7569;method_44590()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;official bLfff;b()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ClientInfo;named toClientInfoLnet/minecraft/client/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 intermediary method_44591Lnet/minecraft/class_7569;method_44591()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;official cLfff;c()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;named toThirdPartyServerInfoLnet/minecraft/client/report/ReporterEnvironment;toThirdPartyServerInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$ThirdPartyServerInfo;
-
toRealmInfo
- Mappings:
Namespace Name Mixin selector intermediary method_44592Lnet/minecraft/class_7569;method_44592()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;official dLfff;d()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;named toRealmInfoLnet/minecraft/client/report/ReporterEnvironment;toRealmInfo()Lcom/mojang/authlib/yggdrasil/request/AbuseReportRequest$RealmInfo;
-
getVersion
- Mappings:
Namespace Name Mixin selector intermediary method_44593Lnet/minecraft/class_7569;method_44593()Ljava/lang/String;official gLfff;g()Ljava/lang/String;named getVersionLnet/minecraft/client/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 theclientVersionrecord component.- Returns:
- the value of the
clientVersionrecord component
-
server
Returns the value of theserverrecord component.- Returns:
- the value of the
serverrecord component
-