类 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_366922_, ServerTextFilter.MessageEncoder p_362103_, URL p_369617_, LegacyTextFilter.JoinOrLeaveEncoder p_364840_, URL p_367665_, LegacyTextFilter.JoinOrLeaveEncoder p_365794_, String p_363705_, ServerTextFilter.IgnoreStrategy p_368934_, ExecutorService p_369275_) -
方法概要
修饰符和类型方法说明createContext
(com.mojang.authlib.GameProfile p_361590_) static ServerTextFilter
createTextFilterFromConfig
(String p_364392_) protected FilteredText
filterText
(String p_364027_, ServerTextFilter.IgnoreStrategy p_361528_, com.google.gson.JsonObject p_365914_) (专用程序包) void
processJoinOrLeave
(com.mojang.authlib.GameProfile p_365389_, URL p_361745_, LegacyTextFilter.JoinOrLeaveEncoder p_361630_, Executor p_362353_) private void
processRequest
(com.google.gson.JsonObject p_365130_, URL p_369729_) protected void
setAuthorizationProperty
(HttpURLConnection p_362434_) 从类继承的方法 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_366922_, ServerTextFilter.MessageEncoder p_362103_, URL p_369617_, LegacyTextFilter.JoinOrLeaveEncoder p_364840_, URL p_367665_, LegacyTextFilter.JoinOrLeaveEncoder p_365794_, String p_363705_, ServerTextFilter.IgnoreStrategy p_368934_, ExecutorService p_369275_)
-
-
方法详细资料
-
createTextFilterFromConfig
-
createContext
- 覆盖:
createContext
在类中ServerTextFilter
-
processJoinOrLeave
void processJoinOrLeave(com.mojang.authlib.GameProfile p_365389_, URL p_361745_, LegacyTextFilter.JoinOrLeaveEncoder p_361630_, Executor p_362353_) -
processRequest
- 抛出:
IOException
-
setAuthorizationProperty
- 指定者:
setAuthorizationProperty
在类中ServerTextFilter
-
filterText
protected FilteredText filterText(String p_364027_, ServerTextFilter.IgnoreStrategy p_361528_, com.google.gson.JsonObject p_365914_) - 指定者:
filterText
在类中ServerTextFilter
-