Class TextFilterer.Impl

java.lang.Object
net.minecraft.server.filter.TextFilterer.Impl
All Implemented Interfaces:
TextStream
Enclosing class:
TextFilterer

private class TextFilterer.Impl extends Object implements TextStream
Mappings:
Namespace Name
named net/minecraft/server/filter/TextFilterer$Impl
intermediary net/minecraft/class_5514$class_5516
official asl$d
  • Field Details

    • gameProfile

      private final com.mojang.authlib.GameProfile gameProfile
      Mappings:
      Namespace Name Mixin selector
      named gameProfile Lnet/minecraft/server/filter/TextFilterer$Impl;gameProfile:Lcom/mojang/authlib/GameProfile;
      intermediary field_26837 Lnet/minecraft/class_5514$class_5516;field_26837:Lcom/mojang/authlib/GameProfile;
      official c Lasl$d;c:Lcom/mojang/authlib/GameProfile;
    • executor

      private final Executor executor
      Mappings:
      Namespace Name Mixin selector
      named executor Lnet/minecraft/server/filter/TextFilterer$Impl;executor:Ljava/util/concurrent/Executor;
      intermediary field_26838 Lnet/minecraft/class_5514$class_5516;field_26838:Ljava/util/concurrent/Executor;
      official d Lasl$d;d:Ljava/util/concurrent/Executor;
  • Constructor Details

    • Impl

      Impl(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/filter/TextFilterer$Impl;<init>(Lnet/minecraft/server/filter/TextFilterer;Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_5514$class_5516;<init>(Lnet/minecraft/class_5514;Lcom/mojang/authlib/GameProfile;)V
      official <init> Lasl$d;<init>(Lasl;Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • onConnect

      public void onConnect()
      Specified by:
      onConnect in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      named onConnect Lnet/minecraft/server/filter/TextStream;onConnect()V
      intermediary method_31287 Lnet/minecraft/class_5513;method_31287()V
      official a Lask;a()V
    • onDisconnect

      public void onDisconnect()
      Specified by:
      onDisconnect in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      named onDisconnect Lnet/minecraft/server/filter/TextStream;onDisconnect()V
      intermediary method_31290 Lnet/minecraft/class_5513;method_31290()V
      official b Lask;b()V
    • filterTexts

      public CompletableFuture<List<FilteredMessage>> filterTexts(List<String> texts)
      Specified by:
      filterTexts in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      named filterTexts Lnet/minecraft/server/filter/TextStream;filterTexts(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31289 Lnet/minecraft/class_5513;method_31289(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      official a Lask;a(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
    • filterText

      public CompletableFuture<FilteredMessage> filterText(String text)
      Specified by:
      filterText in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      named filterText Lnet/minecraft/server/filter/TextStream;filterText(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31288 Lnet/minecraft/class_5513;method_31288(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
      official a Lask;a(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;