Interface AbuseReportSender
- All Known Implementing Classes:
AbuseReportSender.Services
public interface AbuseReportSender
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbuseReportSender
create
(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) boolean
default com.mojang.authlib.minecraft.report.AbuseReportLimits
CompletableFuture
<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()
-