net.minecraft.server.network

public class TextFilterClient

implements AutoCloseable

asl
net.minecraft.server.network.TextFilterClient
net.minecraft.class_5514
net.minecraft.unmapped.C_ldtstxrd
net.minecraft.server.filter.TextFilterer
net.minecraft.server.filter.TextFilterer
net.minecraft.src.C_42_
net.minecraft.server.network.TextFilter

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_26823
f_jsevwjcw
LOGGER
LOGGER
f_10098_
private static final AtomicInteger
b
WORKER_COUNT
field_26824
f_rtmrppiv
NEXT_WORKER_ID
nextWorkerId
f_10099_
private static final ThreadFactory
c
THREAD_FACTORY
field_26825
f_cyzcdqkb
THREAD_FACTORY
THREAD_FACTORY
f_10100_
private static final String
d
DEFAULT_ENDPOINT
field_38055
f_zlqtryav
CHAT_ENDPOINT
f_215270_
private final URL
e
chatEndpoint
field_26826
f_nddbyeug
chatEndpoint
chatEndpoint
f_10101_
private final TextFilterClient$MessageEncoder
f
chatEncoder
field_38056
f_kxxqvisn
messageEncoder
f_215271_
final URL
g
joinEndpoint
field_26827
f_mghygjpy
joinEndpoint
joinEndpoint
f_10102_
final TextFilterClient$JoinOrLeaveEncoder
h
joinEncoder
field_38057
f_jhzxcbye
joinEncoder
f_215272_
final URL
i
leaveEndpoint
field_26828
f_fitqxbvl
leaveEndpoint
leaveEndpoint
f_10103_
final TextFilterClient$JoinOrLeaveEncoder
j
leaveEncoder
field_38058
f_wdrmgeos
leaveEncoder
f_215273_
private final String
k
authKey
field_26829
f_zjtwwrss
apiKey
apiKey
f_10104_
final TextFilterClient$IgnoreStrategy
l
chatIgnoreStrategy
field_26832
f_ddtfczoh
ignorer
ignorer
f_10107_
final ExecutorService
m
workerPool
field_26833
f_xqzyibru
executor
executor
f_10108_

Constructor summary

ModifierConstructor
private (URL chatEndpoint, TextFilterClient$MessageEncoder messageEncoder, URL joinEndpoint, TextFilterClient$JoinOrLeaveEncoder joinEncoder, URL leaveEndpoint, TextFilterClient$JoinOrLeaveEncoder leaveEncoder, String apiKey, TextFilterClient$IgnoreStrategy ignorer, int parallelism)

Method summary

Modifier and TypeMethod
private static URL
a(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
getEndpoint(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
method_41206(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
m_twunakbq(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
getEndpoint(URI root, com.google.gson.JsonObject endpoints, String key, String fallback)
getEndpoint(URI base, com.google.gson.JsonObject endpoints, String key, String fallback)
m_212245_(URI p_212246_, com.google.gson.JsonObject p_212247_, String p_212248_, String p_212249_)
private static String
a(com.google.gson.JsonObject arg0, String arg1, String arg2)
getEndpointFromConfig(com.google.gson.JsonObject arg0, String arg1, String arg2)
method_42111(com.google.gson.JsonObject arg0, String arg1, String arg2)
m_xwedpxrn(com.google.gson.JsonObject arg0, String arg1, String arg2)
getValue(com.google.gson.JsonObject json, String key, String fallback)
getString(com.google.gson.JsonObject object, String element, String defaultString)
m_215294_(com.google.gson.JsonObject p_215295_, String p_215296_, String p_215297_)
public static TextFilterClient
a(String arg0)
createFromConfig(String arg0)
method_33805(String arg0)
m_cualkgar(String arg0)
load(String config)
load(String config)
m_143736_(String p_143737_)
void
a(com.mojang.authlib.GameProfile arg0, URL arg1, asl$b arg2, Executor arg3)
processJoinOrLeave(com.mojang.authlib.GameProfile arg0, URL arg1, TextFilterClient$JoinOrLeaveEncoder arg2, Executor arg3)
method_31299(com.mojang.authlib.GameProfile arg0, URL arg1, class_5514$class_7241 arg2, Executor arg3)
m_gnleevgx(com.mojang.authlib.GameProfile arg0, URL arg1, C_ldtstxrd$C_iwcgeyhu arg2, Executor arg3)
sendJoinOrLeaveRequest(com.mojang.authlib.GameProfile gameProfile, URL endpoint, TextFilterer$ProfileEncoder profileEncoder, Executor executor)
sendJoinOrLeaveRequest(com.mojang.authlib.GameProfile gameProfile, URL endpoint, TextFilterer$GameProfileEncoder profileEncoder, Executor executor)
m_215302_(com.mojang.authlib.GameProfile p_215304_, URL p_215305_, C_42_$C_212941_ p_215306_, Executor arg3)
CompletableFuture<FilteredText>
a(com.mojang.authlib.GameProfile arg0, String arg1, asl$a arg2, Executor arg3)
requestMessageProcessing(com.mojang.authlib.GameProfile arg0, String arg1, TextFilterClient$IgnoreStrategy arg2, Executor arg3)
method_31298(com.mojang.authlib.GameProfile arg0, String arg1, class_5514$class_5515 arg2, Executor arg3)
m_juunhpwo(com.mojang.authlib.GameProfile arg0, String arg1, C_ldtstxrd$C_vdzgfxct arg2, Executor arg3)
filterMessage(com.mojang.authlib.GameProfile gameProfile, String message, TextFilterer$HashIgnorer ignorer, Executor executor)
filterMessage(com.mojang.authlib.GameProfile gameProfile, String message, TextFilterer$HashIgnorer ignorer, Executor executor)
m_10136_(com.mojang.authlib.GameProfile p_10138_, String p_10139_, C_42_$C_44_ p_10140_, Executor arg3)
private FilterMask
a(String arg0, com.google.gson.JsonArray arg1, asl$a arg2)
parseMask(String arg0, com.google.gson.JsonArray arg1, TextFilterClient$IgnoreStrategy arg2)
method_45066(String arg0, com.google.gson.JsonArray arg1, class_5514$class_5515 arg2)
m_bfeesdgs(String arg0, com.google.gson.JsonArray arg1, C_ldtstxrd$C_vdzgfxct arg2)
getMask(String message, com.google.gson.JsonArray mask, TextFilterer$HashIgnorer ignorer)
m_bfeesdgs(String hashes, com.google.gson.JsonArray arg1, TextFilterer$HashIgnorer hashIgnorer)
m_243083_(String p_243222_, com.google.gson.JsonArray p_243237_, C_42_$C_44_ arg2)
public void
close()
close()
close()
private void
a(InputStream arg0)
drainStream(InputStream arg0)
method_31300(InputStream arg0)
m_bhuppfqe(InputStream arg0)
consumeFully(InputStream inputStream)
consumeFully(InputStream inputStream)
m_10145_(InputStream arg0)
private com.google.gson.JsonObject
a(com.google.gson.JsonObject arg0, URL arg1)
processRequestResponse(com.google.gson.JsonObject arg0, URL arg1)
method_31295(com.google.gson.JsonObject arg0, URL arg1)
m_ikbjyqhi(com.google.gson.JsonObject arg0, URL arg1)
sendJsonRequest(com.google.gson.JsonObject payload, URL endpoint)
sendJsonRequest(com.google.gson.JsonObject payload, URL endpoint)
m_10127_(com.google.gson.JsonObject p_10129_, URL arg1)
private void
b(com.google.gson.JsonObject arg0, URL arg1)
processRequest(com.google.gson.JsonObject arg0, URL arg1)
method_31304(com.google.gson.JsonObject arg0, URL arg1)
m_djraggvy(com.google.gson.JsonObject arg0, URL arg1)
sendRequest(com.google.gson.JsonObject payload, URL endpoint)
sendRequest(com.google.gson.JsonObject payload, URL endpoint)
m_10151_(com.google.gson.JsonObject p_10153_, URL arg1)
private HttpURLConnection
c(com.google.gson.JsonObject arg0, URL arg1)
makeRequest(com.google.gson.JsonObject arg0, URL arg1)
method_31306(com.google.gson.JsonObject arg0, URL arg1)
m_qxgiwmfq(com.google.gson.JsonObject arg0, URL arg1)
createConnection(com.google.gson.JsonObject payload, URL endpoint)
createConnection(com.google.gson.JsonObject payload, URL endpoint)
m_10156_(com.google.gson.JsonObject p_10158_, URL arg1)
public TextFilter
a(com.mojang.authlib.GameProfile arg0)
createContext(com.mojang.authlib.GameProfile arg0)
method_31297(com.mojang.authlib.GameProfile arg0)
m_dvtuhdbc(com.mojang.authlib.GameProfile arg0)
createFilterer(com.mojang.authlib.GameProfile gameProfile)
createFilterer(com.mojang.authlib.GameProfile gameProfile)
m_10134_(com.mojang.authlib.GameProfile arg0)