public class FolderResourcePack extends AbstractResourcePack
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.CharMatcher |
BACKSLASH_MATCHER |
private static boolean |
ON_WINDOWS |
resourcePackFile
Constructor and Description |
---|
FolderResourcePack(java.io.File resourcePackFileIn) |
Modifier and Type | Method and Description |
---|---|
private java.io.File |
getFile(java.lang.String p_191385_1_) |
protected java.io.InputStream |
getInputStreamByName(java.lang.String name) |
java.util.Set<java.lang.String> |
getResourceDomains() |
protected boolean |
hasResourceName(java.lang.String name) |
protected static boolean |
validatePath(java.io.File p_191384_0_,
java.lang.String p_191384_1_) |
getInputStream, getPackImage, getPackMetadata, getPackName, getRelativeName, logNameNotLowercase, readMetadata, resourceExists
private static final boolean ON_WINDOWS
private static final com.google.common.base.CharMatcher BACKSLASH_MATCHER
protected static boolean validatePath(java.io.File p_191384_0_, java.lang.String p_191384_1_) throws java.io.IOException
java.io.IOException
protected java.io.InputStream getInputStreamByName(java.lang.String name) throws java.io.IOException
getInputStreamByName
in class AbstractResourcePack
java.io.IOException
protected boolean hasResourceName(java.lang.String name)
hasResourceName
in class AbstractResourcePack
@Nullable private java.io.File getFile(java.lang.String p_191385_1_)
public java.util.Set<java.lang.String> getResourceDomains()