Record Class AbuseReportSender.Impl
java.lang.Object
java.lang.Record
net.minecraft.client.session.report.AbuseReportSender.Impl
- Record Components:
- environment-
- userApiService-
- All Implemented Interfaces:
- AbuseReportSender
- Enclosing interface:
- AbuseReportSender
@Environment(CLIENT)
public static record AbuseReportSender.Impl(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService)
extends Record
implements AbuseReportSender
- Mappings:
- Namespace - Name - named - net/minecraft/client/session/report/AbuseReportSender$Impl- intermediary - net/minecraft/class_7563$class_7565- official - gha$b- named - environment- intermediary - comp_875- official - a- named - userApiService- intermediary - comp_876- official - b
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.session.report.AbuseReportSenderAbuseReportSender.AbuseReportException, AbuseReportSender.Impl
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ReporterEnvironmentThe field for theenvironmentrecord component.private static final Textprivate static final Textprivate static final Textprivate final com.mojang.authlib.minecraft.UserApiServiceThe field for theuserApiServicerecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionImpl(ReporterEnvironment reporterEnvironment, com.mojang.authlib.minecraft.UserApiService userApiService) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the value of theenvironmentrecord component.final booleanIndicates whether some other object is "equal to" this one.private TextgetErrorText(com.mojang.authlib.exceptions.MinecraftClientException exception) private TextgetErrorText(com.mojang.authlib.exceptions.MinecraftClientHttpException exception) com.mojang.authlib.minecraft.report.AbuseReportLimitsfinal inthashCode()Returns a hash code value for this object.CompletableFuture<com.mojang.datafixers.util.Unit> send(UUID id, AbuseReportType type, com.mojang.authlib.minecraft.report.AbuseReport report) final StringtoString()Returns a string representation of this record class.com.mojang.authlib.minecraft.UserApiServiceReturns the value of theuserApiServicerecord component.
- 
Field Details- 
environmentThe field for theenvironmentrecord component.
- 
userApiServiceprivate final com.mojang.authlib.minecraft.UserApiService userApiServiceThe field for theuserApiServicerecord component.
- 
SERVICE_UNAVAILABLE_ERROR_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - SERVICE_UNAVAILABLE_ERROR_TEXT- Lnet/minecraft/client/session/report/AbuseReportSender$Impl;SERVICE_UNAVAILABLE_ERROR_TEXT:Lnet/minecraft/text/Text;- intermediary - field_39642- Lnet/minecraft/class_7563$class_7565;field_39642:Lnet/minecraft/class_2561;- official - c- Lgha$b;c:Lwp;
 
- 
HTTP_ERROR_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - HTTP_ERROR_TEXT- Lnet/minecraft/client/session/report/AbuseReportSender$Impl;HTTP_ERROR_TEXT:Lnet/minecraft/text/Text;- intermediary - field_39643- Lnet/minecraft/class_7563$class_7565;field_39643:Lnet/minecraft/class_2561;- official - d- Lgha$b;d:Lwp;
 
- 
JSON_ERROR_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - JSON_ERROR_TEXT- Lnet/minecraft/client/session/report/AbuseReportSender$Impl;JSON_ERROR_TEXT:Lnet/minecraft/text/Text;- intermediary - field_39644- Lnet/minecraft/class_7563$class_7565;field_39644:Lnet/minecraft/class_2561;- official - e- Lgha$b;e:Lwp;
 
 
- 
- 
Constructor Details- 
Implpublic Impl(ReporterEnvironment reporterEnvironment, com.mojang.authlib.minecraft.UserApiService userApiService) 
 
- 
- 
Method Details- 
sendpublic CompletableFuture<com.mojang.datafixers.util.Unit> send(UUID id, AbuseReportType type, com.mojang.authlib.minecraft.report.AbuseReport report) - Specified by:
- sendin interface- AbuseReportSender
- Mappings:
- Namespace - Name - Mixin selector - named - send- Lnet/minecraft/client/session/report/AbuseReportSender;send(Ljava/util/UUID;Lnet/minecraft/client/session/report/AbuseReportType;Lcom/mojang/authlib/minecraft/report/AbuseReport;)Ljava/util/concurrent/CompletableFuture;- intermediary - method_44563- Lnet/minecraft/class_7563;method_44563(Ljava/util/UUID;Lnet/minecraft/class_8776;Lcom/mojang/authlib/minecraft/report/AbuseReport;)Ljava/util/concurrent/CompletableFuture;- official - a- Lgha;a(Ljava/util/UUID;Lghi;Lcom/mojang/authlib/minecraft/report/AbuseReport;)Ljava/util/concurrent/CompletableFuture;
 
- 
canSendReportspublic boolean canSendReports()- Specified by:
- canSendReportsin interface- AbuseReportSender
- Mappings:
- Namespace - Name - Mixin selector - named - canSendReports- Lnet/minecraft/client/session/report/AbuseReportSender;canSendReports()Z- intermediary - method_44561- Lnet/minecraft/class_7563;method_44561()Z- official - a- Lgha;a()Z
 
- 
getErrorText- Mappings:
- Namespace - Name - Mixin selector - named - getErrorText- Lnet/minecraft/client/session/report/AbuseReportSender$Impl;getErrorText(Lcom/mojang/authlib/exceptions/MinecraftClientHttpException;)Lnet/minecraft/text/Text;- intermediary - method_44566- Lnet/minecraft/class_7563$class_7565;method_44566(Lcom/mojang/authlib/exceptions/MinecraftClientHttpException;)Lnet/minecraft/class_2561;- official - a- Lgha$b;a(Lcom/mojang/authlib/exceptions/MinecraftClientHttpException;)Lwp;
 
- 
getErrorText- Mappings:
- Namespace - Name - Mixin selector - named - getErrorText- Lnet/minecraft/client/session/report/AbuseReportSender$Impl;getErrorText(Lcom/mojang/authlib/exceptions/MinecraftClientException;)Lnet/minecraft/text/Text;- intermediary - method_44565- Lnet/minecraft/class_7563$class_7565;method_44565(Lcom/mojang/authlib/exceptions/MinecraftClientException;)Lnet/minecraft/class_2561;- official - a- Lgha$b;a(Lcom/mojang/authlib/exceptions/MinecraftClientException;)Lwp;
 
- 
getLimitspublic com.mojang.authlib.minecraft.report.AbuseReportLimits getLimits()- Specified by:
- getLimitsin interface- AbuseReportSender
- Mappings:
- Namespace - Name - Mixin selector - named - getLimits- Lnet/minecraft/client/session/report/AbuseReportSender;getLimits()Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;- intermediary - method_44564- Lnet/minecraft/class_7563;method_44564()Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;- official - b- Lgha;b()Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
environmentReturns the value of theenvironmentrecord component.- Returns:
- the value of the environmentrecord component
 
- 
userApiServicepublic com.mojang.authlib.minecraft.UserApiService userApiService()Returns the value of theuserApiServicerecord component.- Returns:
- the value of the userApiServicerecord component
 
 
-