ProgrammerArtResourcePack

public class ProgrammerArtResourcePack extends GroupResourcePack

Represents the Programmer Art resource pack with support for modded content.

Any vanilla resources are provided like in Vanilla through the original programmer art, any missing resources will be searched in the provided modded resource packs.

Constructors

ProgrammerArtResourcePack
Link copied to clipboard
void ProgrammerArtResourcePack(AbstractFileResourcePack originalResourcePack, List<ModResourcePack> modResourcePacks)

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
String getName()
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
InputStream openRoot(String fileName)
abstract InputStream openRoot(String fileName)
parseMetadata
Link copied to clipboard
T parseMetadata<T>(ResourceMetadataReader<T> metaReader)
abstract T parseMetadata<T>(ResourceMetadataReader<T> metaReader)

Sources

jvm source
Link copied to clipboard