Package-level declarations
Types
Link copied to clipboard
data class Pack(val packFormat: Int, val supportedFormats: SupportedFormats?, val description: String?)
Represents the pack part in a pack.mcmeta. Example:
Link copied to clipboard
Represents a pack format/version.
Link copied to clipboard
Represents a pack language.
Link copied to clipboard
class ResourcePack(var meta: ResourcePackMeta, var outputDir: File, var assetResolutionStrategy: AssetResolutionStrategy, _elements: MutableList<ResourcePackElement> = mutableListOf(), _hooks: MutableList<PackedHook> = mutableListOf())
A resource pack, containing several ResourcePackElements.
Link copied to clipboard
class ResourcePackBuilder
A builder for resource packs.
Link copied to clipboard
interface ResourcePackElement
Represents something inside of a resource pack which can be validated and saved.
Link copied to clipboard
Represents the pack.mcmeta file.
Link copied to clipboard
abstract class ResourcePackValidationException(val errorMessage: String? = null, val warnMessage: String? = null) : Exception
An exception which happens when a ResourcePackElement failed to validate. Note that this is only used inside of Results and never thrown.
Link copied to clipboard
Represents the supported_formats part in a pack.mcmeta. Supported formats/versions for the resource pack.