public class VirtualAssetsPack extends VanillaPack
| Modifier and Type | Field and Description |
|---|---|
private ResourceIndex |
field_195785_b |
baseClass, basePath, resourceNamespaces| Constructor and Description |
|---|
VirtualAssetsPack(ResourceIndex p_i48115_1_) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ResourceLocation> |
getAllResourceLocations(ResourcePackType type,
java.lang.String namespaceIn,
java.lang.String pathIn,
int maxDepthIn,
java.util.function.Predicate<java.lang.String> filterIn) |
protected java.io.InputStream |
getInputStreamVanilla(ResourcePackType type,
ResourceLocation location) |
protected java.io.InputStream |
getInputStreamVanilla(java.lang.String pathIn) |
boolean |
resourceExists(ResourcePackType type,
ResourceLocation location) |
close, getMetadata, getName, getResourceNamespaces, getResourceStream, getRootResourceStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisHiddenprivate final ResourceIndex field_195785_b
public VirtualAssetsPack(ResourceIndex p_i48115_1_)
@Nullable protected java.io.InputStream getInputStreamVanilla(ResourcePackType type, ResourceLocation location)
getInputStreamVanilla in class VanillaPackpublic boolean resourceExists(ResourcePackType type, ResourceLocation location)
resourceExists in interface IResourcePackresourceExists in class VanillaPack@Nullable protected java.io.InputStream getInputStreamVanilla(java.lang.String pathIn)
getInputStreamVanilla in class VanillaPackpublic java.util.Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, java.lang.String namespaceIn, java.lang.String pathIn, int maxDepthIn, java.util.function.Predicate<java.lang.String> filterIn)
getAllResourceLocations in interface IResourcePackgetAllResourceLocations in class VanillaPack