接口 TextStream

  • 所有已知实现类:
    TextFilterer.Impl

    public interface TextStream
    Mappings:
    Namespace Name
    official acg
    intermediary net/minecraft/class_5513
    named net/minecraft/server/filter/TextStream
    • 字段详细资料

      • UNFILTERED

        static final TextStream UNFILTERED
        Mappings:
        Namespace Name Mixin selector
        official a Lacg;a:Lacg;
        intermediary field_28862 Lnet/minecraft/class_5513;field_28862:Lnet/minecraft/class_5513;
        named UNFILTERED Lnet/minecraft/server/filter/TextStream;UNFILTERED:Lnet/minecraft/server/filter/TextStream;
    • 方法详细资料

      • onConnect

        void onConnect()
        Mappings:
        Namespace Name Mixin selector
        official a Lacg;a()V
        intermediary method_31287 Lnet/minecraft/class_5513;method_31287()V
        named onConnect Lnet/minecraft/server/filter/TextStream;onConnect()V
      • onDisconnect

        void onDisconnect()
        Mappings:
        Namespace Name Mixin selector
        official b Lacg;b()V
        intermediary method_31290 Lnet/minecraft/class_5513;method_31290()V
        named onDisconnect Lnet/minecraft/server/filter/TextStream;onDisconnect()V
      • filterText

        CompletableFuture<TextStream.Message> filterText​(String text)
        Mappings:
        Namespace Name Mixin selector
        official a Lacg;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;
      • filterTexts

        CompletableFuture<List<TextStream.Message>> filterTexts​(List<String> texts)
        Mappings:
        Namespace Name Mixin selector
        official a Lacg;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;