ModResourcePack

public interface ModResourcePack implements ResourcePack

Interface implemented by mod-provided resource packs.

Functions

close
Link copied to clipboard
abstract void close()
contains
Link copied to clipboard
abstract boolean contains(ResourceType type, Identifier id)
findResources
Link copied to clipboard
abstract Collection<IdentifierfindResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
getFabricModMetadata
Link copied to clipboard
abstract ModMetadata getFabricModMetadata()
The ModMetadata object associated with the mod providing thisresource pack.
getName
Link copied to clipboard
abstract String getName()
getNamespaces
Link copied to clipboard
abstract Set<StringgetNamespaces(ResourceType type)
open
Link copied to clipboard
abstract InputStream open(ResourceType type, Identifier id)
openRoot
Link copied to clipboard
abstract InputStream openRoot(String fileName)
parseMetadata
Link copied to clipboard
abstract T parseMetadata<T>(ResourceMetadataReader<T> metaReader)

Inheritors

ModNioResourcePack
Link copied to clipboard

Sources

jvm source
Link copied to clipboard