MultiPackResourceManagerMixin

abstract class MultiPackResourceManagerMixin : CloseableResourceManager

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val EMPTY: ResourceProvider

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
open fun fromMap(map: Map<ResourceLocation, Resource>): ResourceProvider
Link copied to clipboard
abstract fun getNamespaces(): Set<String>
Link copied to clipboard
abstract fun getResource(location: ResourceLocation): Optional<Resource>
Link copied to clipboard
open fun getResourceOrThrow(arg: ResourceLocation): Resource
Link copied to clipboard
abstract fun getResourceStack(location: ResourceLocation): List<Resource>
Link copied to clipboard
abstract fun listPacks(): Stream<PackResources>
Link copied to clipboard
abstract fun listResources(path: String, filter: Predicate<ResourceLocation>): Map<ResourceLocation, Resource>
Link copied to clipboard
abstract fun listResourceStacks(path: String, filter: Predicate<ResourceLocation>): Map<ResourceLocation, List<Resource>>
Link copied to clipboard
open fun open(arg: ResourceLocation): InputStream
Link copied to clipboard
open fun openAsReader(arg: ResourceLocation): BufferedReader