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