Package-level declarations

Types

Link copied to clipboard
class DummyHolderGetter<T> : HolderGetter<T>

A dummy implementation of HolderGetter to help with RuntimeResourcePack creation.

Link copied to clipboard
class DummyHolderSet<T>(val tag: TagKey<T>) : HolderSet.Named<T>

A dummy implementation of HolderSet to help with RuntimeResourcePack creation.

Link copied to clipboard
class IntrinsicHolderTagBuilder<T>(keyExtractor: (T) -> ResourceKey<T>) : TagBuilder<T>

An extension of TagBuilder which can add elements directly, given a resource key extractor function.

Link copied to clipboard
class PackAdderDsl(adder: PackAdder)

A DSL for adding packs with a PackAdder.

Link copied to clipboard

An insertion position in the final resource pack list.

Link copied to clipboard
class RuntimeResourcePack @JvmOverloads constructor(info: PackLocationInfo, val metadata: PackMetadataSection, val features: FeatureFlagsMetadataSection? = null, val filter: ResourceFilterSection? = null, val overlays: OverlayMetadataSection? = null, extraFiles: Map<List<String>, IoSupplier<InputStream>> = mapOf()) : PackResources

A resource pack that is generated at runtime.

Link copied to clipboard
open class TagBuilder<T>

A type-safe tag builder for creating a TagFile.

Link copied to clipboard