GroupResourcePack

public abstract class GroupResourcePack implements ResourcePack

Represents a group resource pack, holds multiple resource packs as one.

Constructors

GroupResourcePack
Link copied to clipboard
void GroupResourcePack(ResourceType type, List<ModResourcePack> packs)

Functions

appendResources
Link copied to clipboard
void appendResources(NamespaceResourceManagerAccessor manager, Identifier id, List<Resource> resources)
close
Link copied to clipboard
void close()
abstract void close()
contains
Link copied to clipboard
boolean contains(ResourceType type, Identifier id)
abstract boolean contains(ResourceType type, Identifier id)
findResources
Link copied to clipboard
Collection<IdentifierfindResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
abstract Collection<IdentifierfindResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
getFullName
Link copied to clipboard
String getFullName()
getName
Link copied to clipboard
abstract String getName()
getNamespaces
Link copied to clipboard
Set<StringgetNamespaces(ResourceType type)
abstract Set<StringgetNamespaces(ResourceType type)
open
Link copied to clipboard
InputStream open(ResourceType type, Identifier id)
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

ProgrammerArtResourcePack
Link copied to clipboard
FabricModResourcePack
Link copied to clipboard

Sources

jvm source
Link copied to clipboard