Uses of Record Class
net.minecraft.client.report.ReporterEnvironment
-
Uses of ReporterEnvironment in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
MinecraftClient.ensureAbuseReportContext
(ReporterEnvironment environment) Recreates and resetsMinecraftClient.abuseReportContext
ifenvironment
has changed. -
Uses of ReporterEnvironment in net.minecraft.client.report
Modifier and TypeFieldDescriptionprivate final ReporterEnvironment
AbuseReportContext.environment
private final ReporterEnvironment
AbuseReportSender.Impl.environment
The field for theenvironment
record component.Modifier and TypeMethodDescriptionAbuseReportSender.Impl.environment()
Returns the value of theenvironment
record component.static ReporterEnvironment
ReporterEnvironment.ofIntegratedServer()
static ReporterEnvironment
ReporterEnvironment.ofRealm
(RealmsServer server) static ReporterEnvironment
ReporterEnvironment.ofServer
(@Nullable ReporterEnvironment.Server server) static ReporterEnvironment
ReporterEnvironment.ofThirdPartyServer
(String ip) Modifier and TypeMethodDescriptionstatic AbuseReportContext
AbuseReportContext.create
(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) static AbuseReportSender
AbuseReportSender.create
(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) boolean
AbuseReportContext.environmentEquals
(ReporterEnvironment environment) ModifierConstructorDescriptionAbuseReportContext
(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog) Impl
(ReporterEnvironment reporterEnvironment, com.mojang.authlib.minecraft.UserApiService userApiService)