registerTask

inline fun <D : PackBuildData> registerTask(noinline task: D.() -> PackTask)
inline fun <D : PackBuildData> registerTask(noinline task: D.(ResourcePackBuilder) -> PackTask)

Registers a PackTask to be run during the resource pack build process. Requires the presence of PackBuildData of type D.


fun registerTask(task: () -> PackTask)

Registers a PackTask to be run during the resource pack build process.