Class FileDownload.DownloadCountingOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
FileDownload

@Environment(CLIENT) private static class FileDownload.DownloadCountingOutputStream extends CountingOutputStream
Mappings:
Namespace Name
official ehq$a
intermediary net/minecraft/class_4333$class_4334
named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
  • Field Details

    • listener

      Mappings:
      Namespace Name Mixin selector
      official a Lehq$a;a:Ljava/awt/event/ActionListener;
      intermediary field_19539 Lnet/minecraft/class_4333$class_4334;field_19539:Ljava/awt/event/ActionListener;
      named listener Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;listener:Ljava/awt/event/ActionListener;
  • Constructor Details

    • DownloadCountingOutputStream

      public DownloadCountingOutputStream(OutputStream stream)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lehq$a;<init>(Ljava/io/OutputStream;)V
      intermediary <init> Lnet/minecraft/class_4333$class_4334;<init>(Ljava/io/OutputStream;)V
      named <init> Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;<init>(Ljava/io/OutputStream;)V
  • Method Details

    • setListener

      public void setListener(ActionListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lehq$a;a(Ljava/awt/event/ActionListener;)V
      intermediary method_20969 Lnet/minecraft/class_4333$class_4334;method_20969(Ljava/awt/event/ActionListener;)V
      named setListener Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;setListener(Ljava/awt/event/ActionListener;)V
    • afterWrite

      protected void afterWrite(int n) throws IOException
      Overrides:
      afterWrite in class ProxyOutputStream
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official afterWrite Lehq$a;afterWrite(I)V
      intermediary afterWrite Lnet/minecraft/class_4333$class_4334;afterWrite(I)V
      named afterWrite Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V