provide

@Since(version = "2.2")
abstract fun provide(provider: RegistrablesProvider)

Provides a RegistrablesProvider to the API to register new items.

Please use this method sparingly, as a call to provide causes some enchantments to be reloaded. Instead of calling provide multiple times, return a single RegistrablesProvider with a list of all the registrables you wish to provide.

Parameters

provider

the provider