Class CsvWriter

java.lang.Object
net.minecraft.util.profiler.CsvWriter

public class CsvWriter
extends Object
Mappings:
Namespace Name
official afn
intermediary net/minecraft/class_4456
named net/minecraft/util/profiler/CsvWriter
  • Field Details

    • writer

      private final Writer writer
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a:Ljava/io/Writer;
      intermediary field_20284 Lnet/minecraft/class_4456;field_20284:Ljava/io/Writer;
      named writer Lnet/minecraft/util/profiler/CsvWriter;writer:Ljava/io/Writer;
    • column

      private final int column
      Mappings:
      Namespace Name Mixin selector
      official b Lafn;b:I
      intermediary field_20285 Lnet/minecraft/class_4456;field_20285:I
      named column Lnet/minecraft/util/profiler/CsvWriter;column:I
  • Constructor Details

    • CsvWriter

      private CsvWriter​(Writer writer, List<String> headers) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafn;<init>(Ljava/io/Writer;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4456;<init>(Ljava/io/Writer;Ljava/util/List;)V
      named <init> Lnet/minecraft/util/profiler/CsvWriter;<init>(Ljava/io/Writer;Ljava/util/List;)V
  • Method Details

    • makeHeader

      public static CsvWriter.Header makeHeader()
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a()Lafn$a;
      intermediary method_21627 Lnet/minecraft/class_4456;method_21627()Lnet/minecraft/class_4456$class_4457;
      named makeHeader Lnet/minecraft/util/profiler/CsvWriter;makeHeader()Lnet/minecraft/util/profiler/CsvWriter$Header;
    • printRow

      public void printRow​(Object[] columns) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a([Ljava/lang/Object;)V
      intermediary method_21630 Lnet/minecraft/class_4456;method_21630([Ljava/lang/Object;)V
      named printRow Lnet/minecraft/util/profiler/CsvWriter;printRow([Ljava/lang/Object;)V
    • printRow

      private void printRow​(Stream<?> columns) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a(Ljava/util/stream/Stream;)V
      intermediary method_21629 Lnet/minecraft/class_4456;method_21629(Ljava/util/stream/Stream;)V
      named printRow Lnet/minecraft/util/profiler/CsvWriter;printRow(Ljava/util/stream/Stream;)V
    • print

      private static String print​(@Nullable Object o)
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a(Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_21628 Lnet/minecraft/class_4456;method_21628(Ljava/lang/Object;)Ljava/lang/String;
      named print Lnet/minecraft/util/profiler/CsvWriter;print(Ljava/lang/Object;)Ljava/lang/String;