invoke

operator fun <T> Registry<T>.invoke(modid: String, action: RegistryAction<T>.() -> Unit)

Applies a RegistryAction.

Author

Oliver-makes-code (Emma)

Parameters

modid

The modid to register under.

action

The action.


operator fun <T> Registry<T>.invoke(action: RegistryAction<T>.() -> Unit)

Applies a RegistryAction.

Author

Oliver-makes-code (Emma)

Parameters

action

The action.