Package net.minecraft.server.filter
Interface TextStream
- All Known Implementing Classes:
TextFilterer.Impl
public interface TextStream
- Mappings:
Namespace Name official absintermediary net/minecraft/class_5513named net/minecraft/server/filter/TextStream
-
Method Summary
Modifier and Type Method Description CompletableFuture<Optional<String>>filterText(String text)CompletableFuture<Optional<List<String>>>filterTexts(List<String> texts)voidonConnect()voidonDisconnect()
-
Method Details
-
onConnect
void onConnect()- Mappings:
Namespace Name Mixin selector official aLabs;a()Vintermediary method_31287Lnet/minecraft/class_5513;method_31287()Vnamed onConnectLnet/minecraft/server/filter/TextStream;onConnect()V
-
onDisconnect
void onDisconnect()- Mappings:
Namespace Name Mixin selector official bLabs;b()Vintermediary method_31290Lnet/minecraft/class_5513;method_31290()Vnamed onDisconnectLnet/minecraft/server/filter/TextStream;onDisconnect()V
-
filterText
- Mappings:
Namespace Name Mixin selector official aLabs;a(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;intermediary method_31288Lnet/minecraft/class_5513;method_31288(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;named filterTextLnet/minecraft/server/filter/TextStream;filterText(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
filterTexts
- Mappings:
Namespace Name Mixin selector official aLabs;a(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;intermediary method_31289Lnet/minecraft/class_5513;method_31289(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;named filterTextsLnet/minecraft/server/filter/TextStream;filterTexts(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
-