Class ResourceIndex

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

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

    • LOGGER

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

      public static final Splitter SEPARATOR_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official a Lfuz;a:Lcom/google/common/base/Splitter;
      intermediary field_40563 Lnet/minecraft/class_1064;field_40563:Lcom/google/common/base/Splitter;
      named SEPARATOR_SPLITTER Lnet/minecraft/client/resource/ResourceIndex;SEPARATOR_SPLITTER: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
      official a Lfuz;a(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;
      named buildFileSystem Lnet/minecraft/client/resource/ResourceIndex;buildFileSystem(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;