Class DirectResourceIndex

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

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

    • field_36375

      private static final org.slf4j.Logger field_36375
      Mappings:
      Namespace Name Mixin selector
      official a Lfbg;a:Lorg/slf4j/Logger;
      intermediary field_36375 Lnet/minecraft/class_1067;field_36375:Lorg/slf4j/Logger;
      named field_36375 Lnet/minecraft/client/resource/DirectResourceIndex;field_36375:Lorg/slf4j/Logger;
    • assetDir

      private final File assetDir
      Mappings:
      Namespace Name Mixin selector
      official b Lfbg;b:Ljava/io/File;
      intermediary field_5299 Lnet/minecraft/class_1067;field_5299:Ljava/io/File;
      named assetDir Lnet/minecraft/client/resource/DirectResourceIndex;assetDir:Ljava/io/File;
  • Constructor Details

    • DirectResourceIndex

      public DirectResourceIndex(File assetDir)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfbg;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_1067;<init>(Ljava/io/File;)V
      named <init> Lnet/minecraft/client/resource/DirectResourceIndex;<init>(Ljava/io/File;)V
  • Method Details

    • getResource

      public File getResource(Identifier identifier)
      Overrides:
      getResource in class ResourceIndex
      Mappings:
      Namespace Name Mixin selector
      official a Lfbc;a(Lyt;)Ljava/io/File;
      intermediary method_4630 Lnet/minecraft/class_1064;method_4630(Lnet/minecraft/class_2960;)Ljava/io/File;
      named getResource Lnet/minecraft/client/resource/ResourceIndex;getResource(Lnet/minecraft/util/Identifier;)Ljava/io/File;
    • findFile

      public File findFile(String path)
      Overrides:
      findFile in class ResourceIndex
      Mappings:
      Namespace Name Mixin selector
      official a Lfbc;a(Ljava/lang/String;)Ljava/io/File;
      intermediary method_4631 Lnet/minecraft/class_1064;method_4631(Ljava/lang/String;)Ljava/io/File;
      named findFile Lnet/minecraft/client/resource/ResourceIndex;findFile(Ljava/lang/String;)Ljava/io/File;
    • getFilesRecursively

      public Collection<Identifier> getFilesRecursively(String prefix, String namespace, int maxDepth, Predicate<String> pathFilter)
      Overrides:
      getFilesRecursively in class ResourceIndex
      Mappings:
      Namespace Name Mixin selector
      official a Lfbc;a(Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;
      intermediary method_4632 Lnet/minecraft/class_1064;method_4632(Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;
      named getFilesRecursively Lnet/minecraft/client/resource/ResourceIndex;getFilesRecursively(Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;