Enhancement: Please use broader Object types for external compatibility
Jonathing opened this issue ยท 1 comments
What's up gamers, based Modding Legacy associate and Cryptic Mushroom ring leader here.
Anyways, here's the entire issue:
Obviously this is more of a dev style nitpick than anything else, but it will be helpful for outside creators when creating addons for the mod. It's kind of an unfortunate side effect of maintaining a very popular mod that is also open-source. Another solution would be to expose a public API, but it's too much of a hassle since the entire mod is open source anyway.
bonus points if you use "ALT + ENTER" on a method signature's return or argument type, there's a shortcut that recommends a bunch of types that extend the existing type (for example if you alt + enter on RegistryObject<?>
in a public static RegistryObject<?> test()
method, there's an option to change the return type and IntelliJ will then recommend Supplier<?>
and Object
.
ok back to music school bye bitch