public class ResourceIndex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.util.Map<java.lang.String,java.io.File> |
resourceMap |
Modifier | Constructor and Description |
---|---|
protected |
ResourceIndex() |
|
ResourceIndex(java.io.File assetsFolder,
java.lang.String indexName) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile(ResourceLocation location) |
java.io.File |
getPackMcmeta() |
boolean |
isFileExisting(ResourceLocation location) |
private static final org.apache.logging.log4j.Logger LOGGER
private final java.util.Map<java.lang.String,java.io.File> resourceMap
protected ResourceIndex()
public ResourceIndex(java.io.File assetsFolder, java.lang.String indexName)
@Nullable public java.io.File getFile(ResourceLocation location)
public boolean isFileExisting(ResourceLocation location)
public java.io.File getPackMcmeta()