I’ve looked through I believe all of the Sponge tutorials I can find - be it the docs here, threads on these forums, and videos on YouTube - yet I’m still struggling to get things to register.
HunterSharp, Negafinity, Pogo, TreBlue, Gabizou, Nielsb, and a couple of others I didn’t save to watch again for reference sadly.
Anyone able to throw down an idiot’s guide bullet-point list of what to do?
The struggle seems to be in reliably importing the Sponge API into either Eclipse or IntelliJ.
I can sometimes manage to do it, but whenever I return and try again it fails.
I’m clearly just messing something up / lucking out in turn, but as I have so many varied sources telling me what to do, I thought I’d seek one more
Make an IntelliJ Gradle project, add maven { url 'https://repo.spongepowered.org/maven/' } to the repositories, and add compile 'org.spongepowered:spongeapi:6.0.0' to the dependencies, click ‘import changes’ in the popup. Easy.
If you’re going the Maven way, you would Mavenly add the repository https://repo.spongepowered.org/maven (though I don’t know how), and use that exact dependency structure with whatever version in your dependencies. I prefer simple Groovy to verbose XML, though.