Class DataCache

java.lang.Object
net.minecraft.data.DataCache

public class DataCache extends Object
Mappings:
Namespace Name
official im
intermediary net/minecraft/class_2408
named net/minecraft/data/DataCache
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a:Lorg/slf4j/Logger;
      intermediary field_11287 Lnet/minecraft/class_2408;field_11287:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/DataCache;LOGGER:Lorg/slf4j/Logger;
    • root

      private final Path root
      Mappings:
      Namespace Name Mixin selector
      official b Lim;b:Ljava/nio/file/Path;
      intermediary field_11285 Lnet/minecraft/class_2408;field_11285:Ljava/nio/file/Path;
      named root Lnet/minecraft/data/DataCache;root:Ljava/nio/file/Path;
    • recordFile

      private final Path recordFile
      Mappings:
      Namespace Name Mixin selector
      official c Lim;c:Ljava/nio/file/Path;
      intermediary field_11286 Lnet/minecraft/class_2408;field_11286:Ljava/nio/file/Path;
      named recordFile Lnet/minecraft/data/DataCache;recordFile:Ljava/nio/file/Path;
    • unchanged

      private int unchanged
      Mappings:
      Namespace Name Mixin selector
      official d Lim;d:I
      intermediary field_11284 Lnet/minecraft/class_2408;field_11284:I
      named unchanged Lnet/minecraft/data/DataCache;unchanged:I
    • oldSha1

      private final Map<Path,String> oldSha1
      Mappings:
      Namespace Name Mixin selector
      official e Lim;e:Ljava/util/Map;
      intermediary field_11282 Lnet/minecraft/class_2408;field_11282:Ljava/util/Map;
      named oldSha1 Lnet/minecraft/data/DataCache;oldSha1:Ljava/util/Map;
    • newSha1

      private final Map<Path,String> newSha1
      Mappings:
      Namespace Name Mixin selector
      official f Lim;f:Ljava/util/Map;
      intermediary field_11283 Lnet/minecraft/class_2408;field_11283:Ljava/util/Map;
      named newSha1 Lnet/minecraft/data/DataCache;newSha1:Ljava/util/Map;
    • ignores

      private final Set<Path> ignores
      Mappings:
      Namespace Name Mixin selector
      official g Lim;g:Ljava/util/Set;
      intermediary field_16743 Lnet/minecraft/class_2408;field_16743:Ljava/util/Set;
      named ignores Lnet/minecraft/data/DataCache;ignores:Ljava/util/Set;
  • Constructor Details

    • DataCache

      public DataCache(Path root, String name) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official <init> Lim;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2408;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      named <init> Lnet/minecraft/data/DataCache;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
  • Method Details

    • write

      public void write() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a()V
      intermediary method_10326 Lnet/minecraft/class_2408;method_10326()V
      named write Lnet/minecraft/data/DataCache;write()V
    • getOldSha1

      @Nullable public @Nullable String getOldSha1(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a(Ljava/nio/file/Path;)Ljava/lang/String;
      intermediary method_10323 Lnet/minecraft/class_2408;method_10323(Ljava/nio/file/Path;)Ljava/lang/String;
      named getOldSha1 Lnet/minecraft/data/DataCache;getOldSha1(Ljava/nio/file/Path;)Ljava/lang/String;
    • updateSha1

      public void updateSha1(Path path, String sha1)
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary method_10325 Lnet/minecraft/class_2408;method_10325(Ljava/nio/file/Path;Ljava/lang/String;)V
      named updateSha1 Lnet/minecraft/data/DataCache;updateSha1(Ljava/nio/file/Path;Ljava/lang/String;)V
    • contains

      public boolean contains(Path path)
      Mappings:
      Namespace Name Mixin selector
      official b Lim;b(Ljava/nio/file/Path;)Z
      intermediary method_10330 Lnet/minecraft/class_2408;method_10330(Ljava/nio/file/Path;)Z
      named contains Lnet/minecraft/data/DataCache;contains(Ljava/nio/file/Path;)Z
    • ignore

      public void ignore(Path path)
      Mappings:
      Namespace Name Mixin selector
      official c Lim;c(Ljava/nio/file/Path;)V
      intermediary method_16674 Lnet/minecraft/class_2408;method_16674(Ljava/nio/file/Path;)V
      named ignore Lnet/minecraft/data/DataCache;ignore(Ljava/nio/file/Path;)V
    • deleteAll

      private void deleteAll() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lim;b()V
      intermediary method_10331 Lnet/minecraft/class_2408;method_10331()V
      named deleteAll Lnet/minecraft/data/DataCache;deleteAll()V
    • files

      private Stream<Path> files() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official c Lim;c()Ljava/util/stream/Stream;
      intermediary method_10328 Lnet/minecraft/class_2408;method_10328()Ljava/util/stream/Stream;
      named files Lnet/minecraft/data/DataCache;files()Ljava/util/stream/Stream;