class TextFilterer.Impl extends Object implements TextStream
| Modifier and Type | Field and Description |
|---|---|
private Executor |
executor |
private com.mojang.authlib.GameProfile |
gameProfile |
| Modifier | Constructor and Description |
|---|---|
private |
Impl(com.mojang.authlib.GameProfile gameProfile) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Optional<String>> |
filterText(String text) |
CompletableFuture<Optional<List<String>>> |
filterTexts(List<String> texts) |
void |
onConnect() |
void |
onDisconnect() |
private final com.mojang.authlib.GameProfile gameProfile
private final Executor executor
public void onConnect()
onConnect in interface TextStreampublic void onDisconnect()
onDisconnect in interface TextStreampublic CompletableFuture<Optional<List<String>>> filterTexts(List<String> texts)
filterTexts in interface TextStreampublic CompletableFuture<Optional<String>> filterText(String text)
filterText in interface TextStream