public class VirtualAssetsPack extends VanillaPack
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 pathIn,
int maxDepth,
java.util.function.Predicate<java.lang.String> filter) |
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, getRootResourceStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isHidden
public VirtualAssetsPack(ResourceIndex p_i48115_1_)
@Nullable protected java.io.InputStream getInputStreamVanilla(ResourcePackType type, ResourceLocation location)
getInputStreamVanilla
in class VanillaPack
public boolean resourceExists(ResourcePackType type, ResourceLocation location)
resourceExists
in interface IResourcePack
resourceExists
in class VanillaPack
@Nullable protected java.io.InputStream getInputStreamVanilla(java.lang.String pathIn)
getInputStreamVanilla
in class VanillaPack
public java.util.Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, java.lang.String pathIn, int maxDepth, java.util.function.Predicate<java.lang.String> filter)
getAllResourceLocations
in interface IResourcePack
getAllResourceLocations
in class VanillaPack