Hi there, I have been away from the general sponge / minecraft / java scene for a couple of years
time however decided to came back today. What I found was that towards the end of 2017 the data api had been changed and a couple of my plugins that highly depend on it needed updating. Being extremely rusty on the whole java thing I read though the changes (picking up minimal understanding) and believed I was on the right track when I found this - https://github.com/SpongePowered/SpongeAPI/pull/1531 . Unfortunately having made the changes according to this thread intelliJ was still angry at me and I can’t compile. I have had another look around the forums and it seems around this time a number of posts were made with similar issues however wasn’t able to apply the answers to my specific problem hence writing this post. The current status of my code is that I have put a API5 comment above the code I used to have and an API7 comment above what I believed to be the new updated code according to the post I read.
I have also uploaded the full code on github to help understand whats going on (sorry about my horrible code)
I would speculate that when I was doing this years back I added multiple variables to each set of data that may no longer be allowed.
TLDR; I am having issues with updating some old code using the data api before changes for api 6. Any help would be greatly appreciated.