Package net.minecraft.client.resource
Class ResourceIndex
java.lang.Object
net.minecraft.client.resource.ResourceIndex
- Direct Known Subclasses:
DirectResourceIndex
@Environment(CLIENT) public class ResourceIndex extends Object
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,File>field_21556private Map<String,File>indexprotected static LoggerLOGGER -
Constructor Summary
Constructors Modifier Constructor Description protectedResourceIndex()ResourceIndex(File directory, String indexName) -
Method Summary
Modifier and Type Method Description FilefindFile(String path)Collection<Identifier>getFilesRecursively(String string, String string2, int int2, Predicate<String> predicate)FilegetResource(Identifier identifier)
-
Field Details
-
LOGGER
-
index
-
field_21556
-
-
Constructor Details
-
ResourceIndex
protected ResourceIndex() -
ResourceIndex
-
-
Method Details
-
getResource
-
findFile
-
getFilesRecursively
public Collection<Identifier> getFilesRecursively(String string, String string2, int int2, Predicate<String> predicate)
-