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 pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) boolean
default com.mojang.authlib.minecraft.report.AbuseReportLimits
CompletableFuture
<com.mojang.datafixers.util.Unit> send
(UUID pId, ReportType pReportType, com.mojang.authlib.minecraft.report.AbuseReport pReport)
-
Method Details
-
create
static AbuseReportSender create(ReportEnvironment pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) -
send
CompletableFuture<com.mojang.datafixers.util.Unit> send(UUID pId, ReportType pReportType, com.mojang.authlib.minecraft.report.AbuseReport pReport) -
isEnabled
boolean isEnabled() -
reportLimits
default com.mojang.authlib.minecraft.report.AbuseReportLimits reportLimits()
-