register Native Item
Registers a native Item with hot-reload support.
This is the primary API for registering custom Item subclasses from scripts. The item will be registered in the global Minecraft registry with full hot-reload capability.
Return
The registered KattonItemEntry
Parameters
Item identifier (e.g., "mymod:my_item")
Registration mode (GLOBAL, RELOADABLE, or AUTO)
Configuration lambda for item properties
Factory function to create the Item instance
Registers a native Item with hot-reload support.
Return
The registered KattonItemEntry
Parameters
Item identifier
Registration mode
Configuration lambda for item properties
Factory function to create the Item instance
Registers a native Item with pre-configured properties.
Return
The registered KattonItemEntry
Parameters
Item identifier
Pre-configured item properties
Registration mode
Factory function to create the Item instance