Class ZipCompressor

java.lang.Object
net.minecraft.util.profiler.ZipCompressor
All Implemented Interfaces:
Closeable, AutoCloseable

public class ZipCompressor extends Object implements Closeable
Mappings:
Namespace Name
official agr
intermediary net/minecraft/class_6397
named net/minecraft/util/profiler/ZipCompressor
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_33864 Lnet/minecraft/class_6397;field_33864:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/util/profiler/ZipCompressor;LOGGER:Lorg/apache/logging/log4j/Logger;
    • profilingDirectory

      private final Path profilingDirectory
      Mappings:
      Namespace Name Mixin selector
      official b Lagr;b:Ljava/nio/file/Path;
      intermediary field_33865 Lnet/minecraft/class_6397;field_33865:Ljava/nio/file/Path;
      named profilingDirectory Lnet/minecraft/util/profiler/ZipCompressor;profilingDirectory:Ljava/nio/file/Path;
    • temporaryDirectory

      private final Path temporaryDirectory
      Mappings:
      Namespace Name Mixin selector
      official c Lagr;c:Ljava/nio/file/Path;
      intermediary field_33866 Lnet/minecraft/class_6397;field_33866:Ljava/nio/file/Path;
      named temporaryDirectory Lnet/minecraft/util/profiler/ZipCompressor;temporaryDirectory:Ljava/nio/file/Path;
    • zip

      private final FileSystem zip
      Mappings:
      Namespace Name Mixin selector
      official d Lagr;d:Ljava/nio/file/FileSystem;
      intermediary field_33867 Lnet/minecraft/class_6397;field_33867:Ljava/nio/file/FileSystem;
      named zip Lnet/minecraft/util/profiler/ZipCompressor;zip:Ljava/nio/file/FileSystem;
  • Constructor Details

    • ZipCompressor

      public ZipCompressor(Path profilingDirectory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagr;<init>(Ljava/nio/file/Path;)V
      intermediary <init> Lnet/minecraft/class_6397;<init>(Ljava/nio/file/Path;)V
      named <init> Lnet/minecraft/util/profiler/ZipCompressor;<init>(Ljava/nio/file/Path;)V
  • Method Details

    • write

      public void write(Path path, String content)
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary method_37163 Lnet/minecraft/class_6397;method_37163(Ljava/nio/file/Path;Ljava/lang/String;)V
      named write Lnet/minecraft/util/profiler/ZipCompressor;write(Ljava/nio/file/Path;Ljava/lang/String;)V
    • copy

      public void copy(Path path, File file)
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(Ljava/nio/file/Path;Ljava/io/File;)V
      intermediary method_37162 Lnet/minecraft/class_6397;method_37162(Ljava/nio/file/Path;Ljava/io/File;)V
      named copy Lnet/minecraft/util/profiler/ZipCompressor;copy(Ljava/nio/file/Path;Ljava/io/File;)V
    • copyAll

      public void copyAll(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(Ljava/nio/file/Path;)V
      intermediary method_37161 Lnet/minecraft/class_6397;method_37161(Ljava/nio/file/Path;)V
      named copyAll Lnet/minecraft/util/profiler/ZipCompressor;copyAll(Ljava/nio/file/Path;)V
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable