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
official aje$d
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 c Laje$d;c: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 d Laje$d;d: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

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

    • onConnect

      public void onConnect()
      Specified by:
      onConnect in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      official a Lajd;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 Lajd;b()V
      intermediary method_31290 Lnet/minecraft/class_5513;method_31290()V
      named onDisconnect Lnet/minecraft/server/filter/TextStream;onDisconnect()V
    • filterTexts

      public CompletableFuture<List<FilteredMessage>> filterTexts(List<String> texts)
      Specified by:
      filterTexts in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      official a Lajd;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<FilteredMessage> filterText(String text)
      Specified by:
      filterText in interface TextStream
      Mappings:
      Namespace Name Mixin selector
      official a Lajd;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;