net.minecraft.server.network

public class LegacyTextFilter

extends ServerTextFilter

atd
net.minecraft.server.network.LegacyTextFilter
net.minecraft.class_5514
net.minecraft.server.filter.V0TextFilterer
net.minecraft.server.network.LegacyTextFilter

Field summary

Modifier and TypeField
private static final String
b
ENDPOINT
field_38055
CHAT_ENDPOINT
final URL
c
joinEndpoint
field_26827
joinEndpoint
final LegacyTextFilter$JoinOrLeaveEncoder
d
joinEncoder
field_38057
joinEncoder
final URL
e
leaveEndpoint
field_26828
leaveEndpoint
final LegacyTextFilter$JoinOrLeaveEncoder
f
leaveEncoder
field_38058
leaveEncoder
private final String
g
authKey
field_26829
apiKey

Constructor summary

ModifierConstructor
private (URL chatEndpoint, ServerTextFilter$MessageEncoder messageEncoder, URL joinEndpoint, LegacyTextFilter$JoinOrLeaveEncoder joinEncoder, URL leaveEndpoint, LegacyTextFilter$JoinOrLeaveEncoder leaveEncoder, String apiKey, ServerTextFilter$IgnoreStrategy ignorer, ExecutorService threadPool)

Method summary

Modifier and TypeMethod
public static ServerTextFilter
a(String arg0)
createTextFilterFromConfig(String arg0)
method_33805(String arg0)
load(String config)
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 arg0)
void
a(com.mojang.authlib.GameProfile arg0, URL arg1, atd$a arg2, Executor arg3)
processJoinOrLeave(com.mojang.authlib.GameProfile arg0, URL arg1, LegacyTextFilter$JoinOrLeaveEncoder arg2, Executor arg3)
method_31299(com.mojang.authlib.GameProfile arg0, URL arg1, class_5514$class_7241 arg2, Executor arg3)
sendJoinOrLeaveRequest(com.mojang.authlib.GameProfile gameProfile, URL endpoint, V0TextFilterer$ProfileEncoder profileEncoder, Executor executor)
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)
protected void
a(HttpURLConnection arg0)
setAuthorizationProperty(HttpURLConnection arg0)
method_61284(HttpURLConnection arg0)
addAuthentication(HttpURLConnection arg0)
protected FilteredText
a(String arg0, atp$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)
filter(String arg0, AbstractTextFilterer$HashIgnorer arg1, com.google.gson.JsonObject arg2)