javaRegister

fun javaRegister(pos: PackPosition, type: PackType, callback: Consumer<Consumer<PackResources>>)

Register a callback for adding RuntimeResourcePacks using Java Consumers.

Parameters

pos

where to place the packs

type

the type of the packs to add

callback

the callback to register