Package net.minecraft.client.resource
Class ResourceIndex
java.lang.Object
net.minecraft.client.resource.ResourceIndex
- Direct Known Subclasses:
DirectResourceIndex
- Mappings:
Namespace Name official exp
intermediary net/minecraft/class_1064
named net/minecraft/client/resource/ResourceIndex
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
private final Map<Identifier,
File> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFilesRecursively
(String string, String string2, int int2, Predicate<String> predicate) getResource
(Identifier identifier)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lexp;a:Lorg/apache/logging/log4j/Logger;
intermediary field_5290
Lnet/minecraft/class_1064;field_5290:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/resource/ResourceIndex;LOGGER:Lorg/apache/logging/log4j/Logger;
-
rootIndex
- Mappings:
Namespace Name Mixin selector official b
Lexp;b:Ljava/util/Map;
intermediary field_5289
Lnet/minecraft/class_1064;field_5289:Ljava/util/Map;
named rootIndex
Lnet/minecraft/client/resource/ResourceIndex;rootIndex:Ljava/util/Map;
-
namespacedIndex
- Mappings:
Namespace Name Mixin selector official c
Lexp;c:Ljava/util/Map;
intermediary field_21556
Lnet/minecraft/class_1064;field_21556:Ljava/util/Map;
named namespacedIndex
Lnet/minecraft/client/resource/ResourceIndex;namespacedIndex:Ljava/util/Map;
-
-
Constructor Details
-
ResourceIndex
protected ResourceIndex() -
ResourceIndex
- Mappings:
Namespace Name Mixin selector official <init>
Lexp;<init>(Ljava/io/File;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1064;<init>(Ljava/io/File;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/resource/ResourceIndex;<init>(Ljava/io/File;Ljava/lang/String;)V
-
-
Method Details
-
getResource
- Mappings:
Namespace Name Mixin selector official a
Lexp;a(Lww;)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
- Mappings:
Namespace Name Mixin selector official a
Lexp;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 string, String string2, int int2, Predicate<String> predicate) - Mappings:
Namespace Name Mixin selector official a
Lexp;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;
-