Interface AbuseReportSender
- All Known Implementing Classes:
AbuseReportSender.Services
public interface AbuseReportSender
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic AbuseReportSendercreate(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) booleandefault com.mojang.authlib.minecraft.report.AbuseReportLimitsCompletableFuture<com.mojang.datafixers.util.Unit> send(UUID id, ReportType reportType, com.mojang.authlib.minecraft.report.AbuseReport report)
-
Method Details
-
create
static AbuseReportSender create(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) -
send
CompletableFuture<com.mojang.datafixers.util.Unit> send(UUID id, ReportType reportType, com.mojang.authlib.minecraft.report.AbuseReport report) -
isEnabled
boolean isEnabled() -
reportLimits
default com.mojang.authlib.minecraft.report.AbuseReportLimits reportLimits()
-