Class CacheFiles

java.lang.Object
net.minecraft.util.path.CacheFiles

public class CacheFiles extends Object
Mappings:
Namespace Name
official aor
intermediary net/minecraft/class_9055
named net/minecraft/util/path/CacheFiles
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Laor;a:Lorg/slf4j/Logger;
      intermediary field_47674 Lnet/minecraft/class_9055;field_47674:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/path/CacheFiles;LOGGER:Lorg/slf4j/Logger;
  • Constructor Details

    • CacheFiles

      public CacheFiles()
  • Method Details

    • clear

      public static void clear(Path directory, int maxRetained)
      Mappings:
      Namespace Name Mixin selector
      official a Laor;a(Ljava/nio/file/Path;I)V
      intermediary method_55600 Lnet/minecraft/class_9055;method_55600(Ljava/nio/file/Path;I)V
      named clear Lnet/minecraft/util/path/CacheFiles;clear(Ljava/nio/file/Path;I)V
    • findCacheFiles

      private static List<CacheFiles.CacheFile> findCacheFiles(Path directory) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laor;a(Ljava/nio/file/Path;)Ljava/util/List;
      intermediary method_55599 Lnet/minecraft/class_9055;method_55599(Ljava/nio/file/Path;)Ljava/util/List;
      named findCacheFiles Lnet/minecraft/util/path/CacheFiles;findCacheFiles(Ljava/nio/file/Path;)Ljava/util/List;
    • toCacheEntries

      private static List<CacheFiles.CacheEntry> toCacheEntries(List<CacheFiles.CacheFile> files)
      Mappings:
      Namespace Name Mixin selector
      official a Laor;a(Ljava/util/List;)Ljava/util/List;
      intermediary method_55601 Lnet/minecraft/class_9055;method_55601(Ljava/util/List;)Ljava/util/List;
      named toCacheEntries Lnet/minecraft/util/path/CacheFiles;toCacheEntries(Ljava/util/List;)Ljava/util/List;