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, getRootResourceStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isHidden
private final ResourceIndex field_195785_b
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 namespaceIn, java.lang.String pathIn, int maxDepthIn, java.util.function.Predicate<java.lang.String> filterIn)
getAllResourceLocations
in interface IResourcePack
getAllResourceLocations
in class VanillaPack