Thank you for all your help. The project is now on the correct language level. Although I’m still running into some errors Keeping the server from starting. Examples:
…Sponge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\util\annotation\CatalogedBy.java
Error:(33, 24) java: cannot find symbol
symbol: class Nonnull
location: package javax.annotation
Error:(41, 2) java: cannot find symbol
symbol: class Nonnull
…\GitHub\Sponge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\data\DataManipulator.java
Error:(27, 30) java: package com.google.common.base does not exist
Error:(61, 5) java: cannot find symbol
symbol: class Optional
location: interface org.spongepowered.api.data.DataManipulator
I’m guessing a misconfigured setting or missing dependency? I follow the instructions step-by-step it seems so straightforward.
Unfortunately, I think what happened is that since the language level was so low before, you’ll need to run gradle clean
And then gradle setupDecompWorkspace
Then you should be able to refresh with the blue button or manually by doing the following:
Afterwards, go ahead and try rerunning the server again.
Still the same crash. I tried it like 5 times by now. For some reason, the server is loaded before the mixin. Is there any other methods to use hot-swap?
I’m with @Zone on this one, I’d love to see how you set up that plugin for Sponge as well as how you set up your files, added the sponge dependencies into a new project maybe? Just the basics to help introduce people into programming for this API in general using the methods at hand; the API itself is really fluid and so far your other videos have been most helpful, but I’m new to this IDE and Gradle in general.
@gabizou - I’ve moved this to Plugin->Resources. Given that we now have a forum specifically for tutorials related to developing for Sponge, I think this is a better fit.
The eclipse tutorials will be handled by other people, such as @mumfrey or at a later time when I actually have free time to make more tutorials. I haven’t had enough time since the latest tutorials have been made to actually sit down and make some tutorials.