类 ReportingContext
java.lang.Object
net.minecraft.client.multiplayer.chat.report.ReportingContext
-
字段概要
字段修饰符和类型字段说明private final ChatLog
private Report
private final ReportEnvironment
private static final int
private final AbuseReportSender
-
构造器概要
构造器构造器说明ReportingContext
(AbuseReportSender p_239187_, ReportEnvironment p_239188_, ChatLog p_239189_) -
方法概要
修饰符和类型方法说明chatLog()
static ReportingContext
create
(ReportEnvironment p_239686_, com.mojang.authlib.minecraft.UserApiService p_239687_) void
draftReportHandled
(Minecraft p_261771_, Screen p_261866_, Runnable p_262031_, boolean p_261540_) boolean
boolean
hasDraftReportFor
(UUID p_254340_) boolean
matches
(ReportEnvironment p_239734_) sender()
void
setReportDraft
(Report p_299003_)
-
字段详细资料
-
LOG_CAPACITY
private static final int LOG_CAPACITY- 另请参阅:
-
sender
-
environment
-
chatLog
-
draftReport
-
-
构造器详细资料
-
ReportingContext
public ReportingContext(AbuseReportSender p_239187_, ReportEnvironment p_239188_, ChatLog p_239189_)
-
-
方法详细资料
-
create
public static ReportingContext create(ReportEnvironment p_239686_, com.mojang.authlib.minecraft.UserApiService p_239687_) -
draftReportHandled
-
sender
-
chatLog
-
matches
-
setReportDraft
-
hasDraftReport
public boolean hasDraftReport() -
hasDraftReportFor
-