@Environment(value=CLIENT) public class ResourceIndex extends Object
Modifier and Type | Field and Description |
---|---|
private Map<Identifier,File> |
field_21556 |
private Map<String,File> |
index |
protected static Logger |
LOGGER |
Modifier | Constructor and Description |
---|---|
protected |
ResourceIndex() |
|
ResourceIndex(File directory,
String indexName) |
Modifier and Type | Method and Description |
---|---|
File |
findFile(String path) |
Collection<Identifier> |
getFilesRecursively(String string,
String string2,
int int2,
Predicate<String> predicate) |
File |
getResource(Identifier identifier) |
protected static final Logger LOGGER
private final Map<Identifier,File> field_21556
@Nullable public File getResource(Identifier identifier)
public Collection<Identifier> getFilesRecursively(String string, String string2, int int2, Predicate<String> predicate)