net.minecraft.server.filter

public class V0TextFilterer

extends AbstractTextFilterer

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

Field summary

Modifier and TypeField
private static final String
ENDPOINT
field_38055
CHAT_ENDPOINT
private final URL
joinEndpoint
field_26827
joinEndpoint
private final V0TextFilterer$ProfileEncoder
joinEncoder
field_38057
joinEncoder
private final URL
leaveEndpoint
field_26828
leaveEndpoint
private final V0TextFilterer$ProfileEncoder
leaveEncoder
field_38058
leaveEncoder
private final String
authKey
field_26829
apiKey

Constructor summary

ModifierConstructor
private (URL chatEndpoint, AbstractTextFilterer$MessageEncoder messageEncoder, URL joinEndpoint, V0TextFilterer$ProfileEncoder joinEncoder, URL leaveEndpoint, V0TextFilterer$ProfileEncoder leaveEncoder, String apiKey, AbstractTextFilterer$HashIgnorer ignorer, ExecutorService threadPool)

Method summary

Modifier and TypeMethod
public static AbstractTextFilterer
createTextFilterFromConfig(String config)
method_33805(String arg0)
load(String config)
public TextStream
createContext(com.mojang.authlib.GameProfile gameProfile)
method_31297(com.mojang.authlib.GameProfile arg0)
createFilterer(com.mojang.authlib.GameProfile arg0)
private void
processJoinOrLeave(com.mojang.authlib.GameProfile user, URL endpoint, LegacyTextFilter$JoinOrLeaveEncoder encoder, Executor executor)
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
processRequest(com.google.gson.JsonObject payload, URL url)
method_31304(com.google.gson.JsonObject arg0, URL arg1)
sendRequest(com.google.gson.JsonObject payload, URL endpoint)
protected void
setAuthorizationProperty(HttpURLConnection connection)
method_61284(HttpURLConnection arg0)
addAuthentication(HttpURLConnection arg0)
protected FilteredMessage
filterText(String message, ServerTextFilter$IgnoreStrategy ignoreStrategy, com.google.gson.JsonObject result)
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)
private void
lambda$processJoinOrLeave$0(LegacyTextFilter$JoinOrLeaveEncoder arg0, com.mojang.authlib.GameProfile arg1, URL arg2)
method_31296(class_5514$class_7241 arg0, com.mojang.authlib.GameProfile arg1, URL arg2)
method_31296(V0TextFilterer$ProfileEncoder arg0, com.mojang.authlib.GameProfile arg1, URL arg2)
private static com.google.gson.JsonObject
lambda$createTextFilterFromConfig$2(String arg0, String arg1, String arg2, com.mojang.authlib.GameProfile arg3, String arg4)
method_61283(String arg0, String arg1, String arg2, com.mojang.authlib.GameProfile arg3, String arg4)
method_61283(String arg0, String arg1, String arg2, com.mojang.authlib.GameProfile profile, String message)
private static com.google.gson.JsonObject
lambda$createTextFilterFromConfig$1(int arg0, String arg1, String arg2, com.mojang.authlib.GameProfile arg3, String arg4)
method_61280(int arg0, String arg1, String arg2, com.mojang.authlib.GameProfile arg3, String arg4)
method_61280(int arg0, String arg1, String arg2, com.mojang.authlib.GameProfile profile, String message)
private static com.google.gson.JsonObject
lambda$createTextFilterFromConfig$0(String arg0, String arg1, com.mojang.authlib.GameProfile arg2)
method_61282(String arg0, String arg1, com.mojang.authlib.GameProfile arg2)
method_61282(String arg0, String arg1, com.mojang.authlib.GameProfile profile)