withName

infix fun T.withName(name: String)

Registers an object with a given name.

If no modid is present, it uses "modid:name" format.

Author

Oliver-makes-code (Emma)

Parameters

name

The name to register under.