API-ify!
- make a proper API for programmatically adding materials and equipment types
- use said API to register cotton-resources materials instead of exporting config JSON
(hotfix: fixed a server crash due to proguard stripping registry methods)
(hotfix: fixed a server crash due to proguard stripping registry methods)