new Native
fun newNative(id: Identifier, registerMode: RegisterMode = RegisterMode.AUTO, blockFactory: (BlockBehaviour.Properties) -> Block): KattonRegistry.KattonBlockEntry
Registers a native Block instance with hot-reload support.
Return
The registered KattonBlockEntry
Parameters
id
The identifier for the block
register Mode
The registration mode
block Factory
Factory function to create the Block instance