Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val CORE_PACK_ID: Key

The id of the core resource pack (`nova:core`).

Link copied to clipboard

The major resource pack format version of the current Minecraft version.

Link copied to clipboard

The minor resource pack format version of the current Minecraft version.

Functions

Link copied to clipboard
suspend fun build(id: Key, sendToPlayers: Boolean = true, extraListener: Audience? = null)

Builds and uploads the resource pack with the specified id.

Link copied to clipboard
fun configure(id: Key, configure: ResourcePackConfiguration.() -> Unit)
Link copied to clipboard
fun register(id: Key, configure: ResourcePackConfiguration.() -> Unit)

Registers a new ResourcePackConfiguration with id and configures it.