Class ResourceIndex

java.lang.Object
net.minecraft.client.resource.ResourceIndex

@Environment(CLIENT) public class ResourceIndex extends Object
Mappings:
Namespace Name
named net/minecraft/client/resource/ResourceIndex
intermediary net/minecraft/class_1064
official gql
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/resource/ResourceIndex;LOGGER:Lorg/slf4j/Logger;
      intermediary field_5290 Lnet/minecraft/class_1064;field_5290:Lorg/slf4j/Logger;
      official b Lgql;b:Lorg/slf4j/Logger;
    • SEPARATOR_SPLITTER

      public static final Splitter SEPARATOR_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      named SEPARATOR_SPLITTER Lnet/minecraft/client/resource/ResourceIndex;SEPARATOR_SPLITTER:Lcom/google/common/base/Splitter;
      intermediary field_40563 Lnet/minecraft/class_1064;field_40563:Lcom/google/common/base/Splitter;
      official a Lgql;a:Lcom/google/common/base/Splitter;
  • Constructor Details

    • ResourceIndex

      public ResourceIndex()
  • Method Details

    • buildFileSystem

      public static Path buildFileSystem(Path assetsDir, String indexName)
      Builds the resource file system from the index.
      Returns:
      the root path of the resource file system
      Mappings:
      Namespace Name Mixin selector
      named buildFileSystem Lnet/minecraft/client/resource/ResourceIndex;buildFileSystem(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
      intermediary method_45858 Lnet/minecraft/class_1064;method_45858(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
      official a Lgql;a(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;