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 pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) booleandefault com.mojang.authlib.minecraft.report.AbuseReportLimitsCompletableFuture<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()
-