There is a way to find all the all the subtypes of a class in a package. It's exactly what reflections are used for.
I'm guessing that it could be a mapping problem, but I have no clue how to correctly implement reflections in ForgeGradle.
Hi guys,
I'm new to mod development, and I was trying to automatize the item class loading, but I encountered some issues
https://pastes.dev/LJCntOdstn
I'm trying to load items via this method, but the itemClasses set is always empty.
https://pastes.dev/18zFWpIOiJ
This is my build.gradle file
4 replies
Important Information
By using this site, you agree to our Terms of Use.