类 LegacyTextFilter
java.lang.Object
net.minecraft.server.network.ServerTextFilter
net.minecraft.server.network.LegacyTextFilter
- 所有已实现的接口:
AutoCloseable
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.server.network.ServerTextFilter
ServerTextFilter.IgnoreStrategy, ServerTextFilter.MessageEncoder, ServerTextFilter.PlayerContext, ServerTextFilter.RequestFailedException
-
字段概要
字段修饰符和类型字段说明private final String
private static final String
(专用程序包) final LegacyTextFilter.JoinOrLeaveEncoder
(专用程序包) final URL
(专用程序包) final LegacyTextFilter.JoinOrLeaveEncoder
(专用程序包) final URL
从类继承的字段 net.minecraft.server.network.ServerTextFilter
chatIgnoreStrategy, LOGGER, workerPool
-
构造器概要
构造器限定符构造器说明private
LegacyTextFilter
(URL p_363560_, ServerTextFilter.MessageEncoder p_365315_, URL p_364476_, LegacyTextFilter.JoinOrLeaveEncoder p_360868_, URL p_365117_, LegacyTextFilter.JoinOrLeaveEncoder p_363479_, String p_364988_, ServerTextFilter.IgnoreStrategy p_364465_, ExecutorService p_365348_) -
方法概要
修饰符和类型方法说明createContext
(com.mojang.authlib.GameProfile p_364054_) static ServerTextFilter
createTextFilterFromConfig
(String p_363094_) protected FilteredText
filterText
(String p_361804_, ServerTextFilter.IgnoreStrategy p_362791_, com.google.gson.JsonObject p_364399_) (专用程序包) void
processJoinOrLeave
(com.mojang.authlib.GameProfile p_364281_, URL p_364927_, LegacyTextFilter.JoinOrLeaveEncoder p_362293_, Executor p_363061_) private void
processRequest
(com.google.gson.JsonObject p_364402_, URL p_360408_) protected void
setAuthorizationProperty
(HttpURLConnection p_365203_) 从类继承的方法 net.minecraft.server.network.ServerTextFilter
close, connectionReadTimeout, createFromConfig, createWorkerPool, drainStream, getEndpoint, getEndpointFromConfig, getURLConnection, makeRequest, parseMask, requestMessageProcessing
-
字段详细资料
-
ENDPOINT
- 另请参阅:
-
joinEndpoint
-
joinEncoder
-
leaveEndpoint
-
leaveEncoder
-
authKey
-
-
构造器详细资料
-
LegacyTextFilter
private LegacyTextFilter(URL p_363560_, ServerTextFilter.MessageEncoder p_365315_, URL p_364476_, LegacyTextFilter.JoinOrLeaveEncoder p_360868_, URL p_365117_, LegacyTextFilter.JoinOrLeaveEncoder p_363479_, String p_364988_, ServerTextFilter.IgnoreStrategy p_364465_, ExecutorService p_365348_)
-
-
方法详细资料
-
createTextFilterFromConfig
-
createContext
- 覆盖:
createContext
在类中ServerTextFilter
-
processJoinOrLeave
void processJoinOrLeave(com.mojang.authlib.GameProfile p_364281_, URL p_364927_, LegacyTextFilter.JoinOrLeaveEncoder p_362293_, Executor p_363061_) -
processRequest
- 抛出:
IOException
-
setAuthorizationProperty
- 指定者:
setAuthorizationProperty
在类中ServerTextFilter
-
filterText
protected FilteredText filterText(String p_361804_, ServerTextFilter.IgnoreStrategy p_362791_, com.google.gson.JsonObject p_364399_) - 指定者:
filterText
在类中ServerTextFilter
-