The FTB Forum is now read-only, and is here as an archive.
To participate in our community discussions, please join our Discord! https://ftb.team/discord
This allowed me to greatly simplify how State is stored. Rather than needing one dictionary for every type I can store it all in 1 and use a good amount of generics and some wrappers to still have access to every type I could ever need.
51 I'm not sure if it is simpler, considering I now need a lot of generics. However, it does mean I have a lot less code duplication. So... a bit less KISS in order to make the code a lot more DRY.
Though, the biggest reason of this being less KISS is because of generics, which I personally think aren't too hard?
50 Less duplication is always nice, I've made new classes to avoid it in the past, since it makes it easier to update and make more things using it in the future.