register

fun register(pos: PackPosition, type: PackType, vararg callbacks: PackCallback)

Register callbacks for adding RuntimeResourcePacks.

Parameters

pos

where to place the packs

type

the type of the packs to add

callbacks

the callbacks to register


inline fun register(pos: PackPosition, type: PackType, crossinline callback: PackAdderDsl.() -> Unit)

Register a callback for adding RuntimeResourcePacks using the PackAdderDsl.

Parameters

pos

where to place the packs

type

the type of the packs to add

callback

the callback to register