net.minecraft.server.network

public class TextFilterClient

implements AutoCloseable

acp
net.minecraft.server.network.TextFilterClient
net.minecraft.class_5514
net.minecraft.server.filter.TextFilterer
net.minecraft.src.C_42_
net.minecraft.server.network.TextFilter

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_26823
LOGGER
f_10098_
private static final AtomicInteger
b
WORKER_COUNT
field_26824
NEXT_WORKER_ID
f_10099_
private static final ThreadFactory
c
THREAD_FACTORY
field_26825
THREAD_FACTORY
f_10100_
private final URL
d
chatEndpoint
field_26826
chatEndpoint
f_10101_
final URL
e
joinEndpoint
field_26827
joinEndpoint
f_10102_
final URL
f
leaveEndpoint
field_26828
leaveEndpoint
f_10103_
private final String
g
authKey
field_26829
apiKey
f_10104_
private final int
h
ruleId
field_26830
ruleId
f_10105_
private final String
i
serverId
field_26831
serverId
f_10106_
final TextFilterClient$IgnoreStrategy
j
chatIgnoreStrategy
field_26832
ignorer
f_10107_
final ExecutorService
k
workerPool
field_26833
executor
f_10108_

Constructor summary

ModifierConstructor
private (URI apiUrl, String apiKey, int ruleId, String serverId, TextFilterClient$IgnoreStrategy ignorer, int threadsNumber)

Method summary

Modifier and TypeMethod
public static TextFilterClient
a(String arg0)
createFromConfig(String arg0)
method_33805(String arg0)
load(String config)
m_143736_(String p_143737_)
void
a(com.mojang.authlib.GameProfile arg0, URL arg1, Executor arg2)
processJoinOrLeave(com.mojang.authlib.GameProfile arg0, URL arg1, Executor arg2)
method_31299(com.mojang.authlib.GameProfile arg0, URL arg1, Executor arg2)
sendJoinOrLeaveRequest(com.mojang.authlib.GameProfile gameProfile, URL endpoint, Executor executor)
m_10141_(com.mojang.authlib.GameProfile p_10143_, URL p_10144_, Executor arg2)
CompletableFuture<TextFilter$FilteredText>
a(com.mojang.authlib.GameProfile arg0, String arg1, acp$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)
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)
public void
close()
close()
close()
private void
a(InputStream arg0)
drainStream(InputStream arg0)
method_31300(InputStream arg0)
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)
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)
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)
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)
createFilterer(com.mojang.authlib.GameProfile gameProfile)
m_10134_(com.mojang.authlib.GameProfile arg0)