
Better configuration file format?
Andy-Elizabeth-mouse opened this issue ยท 1 comments
Describe the feature you'd like
Maybe we should use a better configuration file format instead of exposing class names in the configuration file.
Is your feature request related to a problem? Please describe.
YesSteveModel/YSM-Wiki-Issues#163
Yeah it's kind of gross but I don't see any other way to do it, the point is that it means InvMove can let you configure any modded screen without needing to explicitly support it.
I don't know of any other unique id I could use other than the class name
Though note that if a class doesn't exist it isn't supposed to crash, on older versions there was a bug that could cause NoClassDefFoundError
, but it should be fixed in v0.8.8 for 1.21.1 and will be ported to older/newer versions in v0.9.0 (dev builds available here)
(there is also technically a way for other mods to add their own Modules to InvMove if they want to handle their screens manually but idk if there's any mods actually using that other than InvMoveCompats)