The „setAccessible(true)“ looks like the worst thing here for me. Looks like you’re setting private properties to public to directly access their values. Your software architect will thank you a lot
it's not the only way!!! use paperweight userdev and you can code against mojang-mapped NMS code, and you can even set it up to work cross-version like I do in https://github.com/Auxilor/eco
I really don't care, if you want to use whataboutism to justify it, you do you.
I'm just saying there are probably a lot of players that would like to use your stuff, but don't want to downgrade, especially since other mods they like only exist for newer versions.
I use viaversion and viabackward plugins, means people can join from any minecraft version to 1.12.2 server - no need for them to downgrade their mc version
View all comments
1
u/TorbenKoehn Mar 20 '23
The „setAccessible(true)“ looks like the worst thing here for me. Looks like you’re setting private properties to public to directly access their values. Your software architect will thank you a lot