kotlin
@ApiStatus.Experimental
@ApiStatus.Experimental fun registerNativeCreativeTab(id: String, registerMode: RegisterMode = RegisterMode.WORLD, tabFactory: () -> CreativeModeTab): KattonRegistry.KattonCreativeTabEntryRegisters a native CreativeModeTab with hot-reload support.
Parameters
| Parameter | Description |
|---|---|
id | Tab identifier (e.g., "mymod:custom_tab") |
registerMode | Registration mode (GLOBAL, WORLD, or RELOADABLE) |
tabFactory | Factory function to create the CreativeModeTab instance |
Returns
The registered KattonCreativeTabEntry
