Add example of static component registration metadata to wiki/readme
Nosrick opened this issue ยท 3 comments
Hi there,
I'm trying to register a static component, and it keeps complaining that the component isn't registered via mod metadata, or a plugin.
I can't find any documentation for doing this.
did you follow the wiki article on attaching components?
If yes, could you show exactly what your code looks like, as well as attach a full error log?
Yeah, I did.
The wiki article doesn't specify anywhere that static components need to be registered through mod metadata or plugin.
Even in the testmod, I can't figure out how it manages to get a static component working.
Here's my Component container.
https://hastebin.com/igezohugor.java
And the only Component implementing interface I have:
https://hastebin.com/zelefepate.java
If you need more code, just say and I'll hastebin it!
And here's my error log:
https://hastebin.com/ajucotikib.cs