Class V1TextFilterer

java.lang.Object
net.minecraft.server.filter.AbstractTextFilterer
net.minecraft.server.filter.V1TextFilterer
All Implemented Interfaces:
AutoCloseable

public class V1TextFilterer extends AbstractTextFilterer
Mappings:
Namespace Name
named net/minecraft/server/filter/V1TextFilterer
intermediary net/minecraft/class_9846
official atg
  • Field Details

    • application

      private final com.microsoft.aad.msal4j.ConfidentialClientApplication application
      Mappings:
      Namespace Name Mixin selector
      named application Lnet/minecraft/server/filter/V1TextFilterer;application:Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;
      intermediary field_52360 Lnet/minecraft/class_9846;field_52360:Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;
      official b Latg;b:Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;
    • credentialParameters

      private final com.microsoft.aad.msal4j.ClientCredentialParameters credentialParameters
      Mappings:
      Namespace Name Mixin selector
      named credentialParameters Lnet/minecraft/server/filter/V1TextFilterer;credentialParameters:Lcom/microsoft/aad/msal4j/ClientCredentialParameters;
      intermediary field_52361 Lnet/minecraft/class_9846;field_52361:Lcom/microsoft/aad/msal4j/ClientCredentialParameters;
      official c Latg;c:Lcom/microsoft/aad/msal4j/ClientCredentialParameters;
    • fullyFilteredEvents

      private final Set<String> fullyFilteredEvents
      Mappings:
      Namespace Name Mixin selector
      named fullyFilteredEvents Lnet/minecraft/server/filter/V1TextFilterer;fullyFilteredEvents:Ljava/util/Set;
      intermediary field_52362 Lnet/minecraft/class_9846;field_52362:Ljava/util/Set;
      official d Latg;d:Ljava/util/Set;
    • readTimeout

      private final int readTimeout
      Mappings:
      Namespace Name Mixin selector
      named readTimeout Lnet/minecraft/server/filter/V1TextFilterer;readTimeout:I
      intermediary field_52363 Lnet/minecraft/class_9846;field_52363:I
      official e Latg;e:I
  • Constructor Details

    • V1TextFilterer

      private V1TextFilterer(URL url, AbstractTextFilterer.MessageEncoder messageEncoder, AbstractTextFilterer.HashIgnorer hashIgnorer, ExecutorService threadPool, com.microsoft.aad.msal4j.ConfidentialClientApplication application, com.microsoft.aad.msal4j.ClientCredentialParameters credentialParameters, Set<String> fullyFilteredEvents, int readTimeout)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/filter/V1TextFilterer;<init>(Ljava/net/URL;Lnet/minecraft/server/filter/AbstractTextFilterer$MessageEncoder;Lnet/minecraft/server/filter/AbstractTextFilterer$HashIgnorer;Ljava/util/concurrent/ExecutorService;Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;Lcom/microsoft/aad/msal4j/ClientCredentialParameters;Ljava/util/Set;I)V
      intermediary <init> Lnet/minecraft/class_9846;<init>(Ljava/net/URL;Lnet/minecraft/class_9847$class_7242;Lnet/minecraft/class_9847$class_5515;Ljava/util/concurrent/ExecutorService;Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;Lcom/microsoft/aad/msal4j/ClientCredentialParameters;Ljava/util/Set;I)V
      official <init> Latg;<init>(Ljava/net/URL;Latp$b;Latp$a;Ljava/util/concurrent/ExecutorService;Lcom/microsoft/aad/msal4j/ConfidentialClientApplication;Lcom/microsoft/aad/msal4j/ClientCredentialParameters;Ljava/util/Set;I)V
  • Method Details

    • load

      @Nullable public static @Nullable AbstractTextFilterer load(String response)
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/server/filter/V1TextFilterer;load(Ljava/lang/String;)Lnet/minecraft/server/filter/AbstractTextFilterer;
      intermediary method_61286 Lnet/minecraft/class_9846;method_61286(Ljava/lang/String;)Lnet/minecraft/class_9847;
      official a Latg;a(Ljava/lang/String;)Latp;
    • getAuthToken

      private com.microsoft.aad.msal4j.IAuthenticationResult getAuthToken()
      Mappings:
      Namespace Name Mixin selector
      named getAuthToken Lnet/minecraft/server/filter/V1TextFilterer;getAuthToken()Lcom/microsoft/aad/msal4j/IAuthenticationResult;
      intermediary method_61289 Lnet/minecraft/class_9846;method_61289()Lcom/microsoft/aad/msal4j/IAuthenticationResult;
      official b Latg;b()Lcom/microsoft/aad/msal4j/IAuthenticationResult;
    • addAuthentication

      protected void addAuthentication(HttpURLConnection connection)
      Specified by:
      addAuthentication in class AbstractTextFilterer
      Mappings:
      Namespace Name Mixin selector
      named addAuthentication Lnet/minecraft/server/filter/AbstractTextFilterer;addAuthentication(Ljava/net/HttpURLConnection;)V
      intermediary method_61284 Lnet/minecraft/class_9847;method_61284(Ljava/net/HttpURLConnection;)V
      official a Latp;a(Ljava/net/HttpURLConnection;)V
    • filter

      protected FilteredMessage filter(String raw, AbstractTextFilterer.HashIgnorer hashIgnorer, JsonObject response)
      Specified by:
      filter in class AbstractTextFilterer
      Mappings:
      Namespace Name Mixin selector
      named filter Lnet/minecraft/server/filter/AbstractTextFilterer;filter(Ljava/lang/String;Lnet/minecraft/server/filter/AbstractTextFilterer$HashIgnorer;Lcom/google/gson/JsonObject;)Lnet/minecraft/server/filter/FilteredMessage;
      intermediary method_61281 Lnet/minecraft/class_9847;method_61281(Ljava/lang/String;Lnet/minecraft/class_9847$class_5515;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_5837;
      official a Latp;a(Ljava/lang/String;Latp$a;Lcom/google/gson/JsonObject;)Lata;
    • getReadTimeout

      protected int getReadTimeout()
      Overrides:
      getReadTimeout in class AbstractTextFilterer
      Mappings:
      Namespace Name Mixin selector
      named getReadTimeout Lnet/minecraft/server/filter/AbstractTextFilterer;getReadTimeout()I
      intermediary method_61285 Lnet/minecraft/class_9847;method_61285()I
      official a Latp;a()I