Hi.
Sorry in advance if this question was asked, but I couldn't find any instance of it on here.
My question is, can (and if yes, then how) I use org.reflections on other loaded mods?
I tried looking it up online, but I couldn't get it to work.
More specifically, I wanted to look for classes extending a certain class in another mod.
I know it should look something like this, but I'm not sure what to put into parameters in new Reflection().
(It's worth noting that I already have the ModContainer as well as ModObject of the mod I want to modify in a variable if that helps)
Reflections reflections = new Reflections("package.goes.here");
Set<Class<? extends CertainClass>> CertainClassSet = reflections.getSubTypesOf(CertainClass.class);
Any help from you all is appreciated, and again, sorry if this question was asked / is basic.