Class TextFilterer.Impl

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

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

    • gameProfile

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

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

    • Impl

      private Impl​(com.mojang.authlib.GameProfile gameProfile)
  • Method Details

    • onConnect

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

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

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

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