Package net.minecraft.server.filter
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 Summary
Fields Modifier and Type Field Description private Executor
executor
private com.mojang.authlib.GameProfile
gameProfile
-
Constructor Summary
Constructors Modifier Constructor Description private
Impl(com.mojang.authlib.GameProfile gameProfile)
-
Method Summary
Modifier and Type Method Description CompletableFuture<Optional<String>>
filterText(String text)
CompletableFuture<Optional<List<String>>>
filterTexts(List<String> texts)
void
onConnect()
void
onDisconnect()
-
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
- 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 interfaceTextStream
- 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 interfaceTextStream
- 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
- Specified by:
filterTexts
in interfaceTextStream
- 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
- Specified by:
filterText
in interfaceTextStream
- 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;
-