net.minecraft.server.network

public abstract class ServerTextFilter

implements AutoCloseable

asl
net.minecraft.server.network.ServerTextFilter
net.minecraft.class_9847
net.minecraft.unmapped.C_qpdurljv
net.minecraft.server.filter.AbstractTextFilterer
net.minecraft.unmapped.C_qpdurljv
net.minecraft.src.C_346130_
net.minecraft.server.network.ServerTextFilter

Field summary

Modifier and TypeField
protected static final org.slf4j.Logger
a
LOGGER
field_52365
f_ermafodb
LOGGER
LOGGER
f_348076_
private static final AtomicInteger
b
WORKER_COUNT
field_52366
f_mtgscgrn
WORKER_ID
f_346333_
private static final ThreadFactory
c
THREAD_FACTORY
field_52367
f_huwckmza
THREAD_FACTORY
f_346893_
private final URL
d
chatEndpoint
field_52368
f_afdogmlw
url
f_349406_
private final ServerTextFilter$MessageEncoder
e
chatEncoder
field_52369
f_xrfrenhx
messageEncoder
f_346938_
final ServerTextFilter$IgnoreStrategy
f
chatIgnoreStrategy
field_52370
f_idwjwgae
hashIgnorer
f_349287_
final ExecutorService
g
workerPool
field_52371
f_gvcpmete
threadPool
f_347457_

Constructor summary

ModifierConstructor
protected (URL url, ServerTextFilter$MessageEncoder messageEncoder, ServerTextFilter$IgnoreStrategy hashIgnorer, ExecutorService threadPool)

Method summary

Modifier and TypeMethod
protected static ExecutorService
a(int arg0)
createWorkerPool(int arg0)
method_61291(int arg0)
m_nvpgcmdt(int arg0)
newThreadPool(int threadCount)
m_nvpgcmdt(int nThreads)
m_351725_(int p_360924_)
protected 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_61300(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
m_huakbssq(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
resolveEndpoint(URI uri, com.google.gson.JsonObject endpoints, String key, String defaultPath)
m_huakbssq(URI arg0, com.google.gson.JsonObject object, String element, String defaultStr)
m_355764_(URI p_362612_, com.google.gson.JsonObject p_362365_, String p_369987_, String p_360990_)
protected static String
a(com.google.gson.JsonObject arg0, String arg1, String arg2)
getEndpointFromConfig(com.google.gson.JsonObject arg0, String arg1, String arg2)
method_61293(com.google.gson.JsonObject arg0, String arg1, String arg2)
m_lyfcplql(com.google.gson.JsonObject arg0, String arg1, String arg2)
getEndpointPath(com.google.gson.JsonObject endpoints, String key, String defaultPath)
m_lyfcplql(com.google.gson.JsonObject object, String element, String defaultStr)
m_356350_(com.google.gson.JsonObject p_364044_, String p_360878_, String p_365862_)
public static ServerTextFilter
a(apv arg0)
createFromConfig(DedicatedServerProperties arg0)
method_61292(class_3806 arg0)
m_mbrqzaej(C_kefepfwh arg0)
createTextFilter(ServerPropertiesHandler properties)
m_355636_(C_5409_ p_365465_)
protected CompletableFuture<FilteredText>
a(com.mojang.authlib.GameProfile arg0, String arg1, asl$a arg2, Executor arg3)
requestMessageProcessing(com.mojang.authlib.GameProfile arg0, String arg1, ServerTextFilter$IgnoreStrategy arg2, Executor arg3)
method_61296(com.mojang.authlib.GameProfile arg0, String arg1, class_9847$class_5515 arg2, Executor arg3)
m_sgyonzzw(com.mojang.authlib.GameProfile arg0, String arg1, C_qpdurljv$C_ftexscyf arg2, Executor arg3)
filter(com.mojang.authlib.GameProfile profile, String raw, AbstractTextFilterer$HashIgnorer hashIgnorer, Executor executor)
m_sgyonzzw(com.mojang.authlib.GameProfile profile, String arg1, C_qpdurljv$C_ftexscyf arg2, Executor executor)
m_355512_(com.mojang.authlib.GameProfile p_362939_, String p_364336_, C_346130_$C_345601_ p_367327_, Executor arg3)
protected abstract FilteredText
a(String arg0, asl$a arg1, com.google.gson.JsonObject arg2)
filterText(String arg0, ServerTextFilter$IgnoreStrategy arg1, com.google.gson.JsonObject arg2)
method_61281(String arg0, class_9847$class_5515 arg1, com.google.gson.JsonObject arg2)
m_hztygoeb(String arg0, C_qpdurljv$C_ftexscyf arg1, com.google.gson.JsonObject arg2)
filter(String raw, AbstractTextFilterer$HashIgnorer hashIgnorer, com.google.gson.JsonObject response)
m_352866_(String p_370195_, C_346130_$C_345601_ p_368275_, com.google.gson.JsonObject arg2)
protected FilterMask
a(String arg0, com.google.gson.JsonArray arg1, asl$a arg2)
parseMask(String arg0, com.google.gson.JsonArray arg1, ServerTextFilter$IgnoreStrategy arg2)
method_61299(String arg0, com.google.gson.JsonArray arg1, class_9847$class_5515 arg2)
m_geibrvet(String arg0, com.google.gson.JsonArray arg1, C_qpdurljv$C_ftexscyf arg2)
createFilterMask(String raw, com.google.gson.JsonArray redactedTextIndex, AbstractTextFilterer$HashIgnorer hashIgnorer)
m_355096_(String p_365004_, com.google.gson.JsonArray p_366306_, C_346130_$C_345601_ arg2)
public void
close()
close()
close()
protected void
a(InputStream arg0)
drainStream(InputStream arg0)
method_61297(InputStream arg0)
m_czpwupup(InputStream arg0)
discardRestOfInput(InputStream stream)
m_355700_(InputStream arg0)
private com.google.gson.JsonObject
b(com.google.gson.JsonObject arg0, URL arg1)
processRequestResponse(com.google.gson.JsonObject arg0, URL arg1)
method_61302(com.google.gson.JsonObject arg0, URL arg1)
m_siuzvuyu(com.google.gson.JsonObject arg0, URL arg1)
request(com.google.gson.JsonObject request, URL url)
m_siuzvuyu(com.google.gson.JsonObject element, URL arg1)
m_353260_(com.google.gson.JsonObject p_367030_, URL arg1)
protected HttpURLConnection
a(com.google.gson.JsonObject arg0, URL arg1)
makeRequest(com.google.gson.JsonObject arg0, URL arg1)
method_61294(com.google.gson.JsonObject arg0, URL arg1)
m_ashwldsd(com.google.gson.JsonObject arg0, URL arg1)
openConnection(com.google.gson.JsonObject request, URL url)
m_ashwldsd(com.google.gson.JsonObject element, URL arg1)
m_353780_(com.google.gson.JsonObject p_361087_, URL arg1)
protected abstract void
a(HttpURLConnection arg0)
setAuthorizationProperty(HttpURLConnection arg0)
method_61284(HttpURLConnection arg0)
m_klybzbrt(HttpURLConnection arg0)
addAuthentication(HttpURLConnection connection)
m_353153_(HttpURLConnection arg0)
protected int
a()
connectionReadTimeout()
method_61285()
m_gcwqtuva()
getReadTimeout()
m_353749_()
protected HttpURLConnection
a(URL arg0)
getURLConnection(URL arg0)
method_61301(URL arg0)
m_wcomzkyn(URL arg0)
openConnection(URL url)
m_351824_(URL arg0)
public TextFilter
a(com.mojang.authlib.GameProfile arg0)
createContext(com.mojang.authlib.GameProfile arg0)
method_31297(com.mojang.authlib.GameProfile arg0)
m_srhtsahb(com.mojang.authlib.GameProfile arg0)
createFilterer(com.mojang.authlib.GameProfile profile)
m_srhtsahb(com.mojang.authlib.GameProfile profile)
m_355216_(com.mojang.authlib.GameProfile arg0)