Package net.minecraft.client.resource
Class ResourceIndex
java.lang.Object
net.minecraft.client.resource.ResourceIndex
- Direct Known Subclasses:
DirectResourceIndex
- Mappings:
Namespace Name official fki
intermediary net/minecraft/class_1064
named net/minecraft/client/resource/ResourceIndex
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final Map<Identifier,
File> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFilesRecursively
(String prefix, String namespace, Predicate<Identifier> allowedPathPredicate) getResource
(Identifier identifier)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Lfki;a: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;
-
rootIndex
- Mappings:
Namespace Name Mixin selector official b
Lfki;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
Lfki;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>
Lfki;<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
Lfki;a(Labb;)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
Lfki;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, Predicate<Identifier> allowedPathPredicate) - Mappings:
Namespace Name Mixin selector official a
Lfki;a(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection;
intermediary method_4632
Lnet/minecraft/class_1064;method_4632(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection;
named getFilesRecursively
Lnet/minecraft/client/resource/ResourceIndex;getFilesRecursively(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection;
-