I came back to Minecraft programming after my last activity was in Bukket. Installed IntelliJ and wrote simple test plugin, but I can’t quite get the hang of setting the thing up. Would appreciate it if someone will link me to a good instructive video or will upload an example IntelliJ project
This video is heavily outdated; e.g. it uses capital letters in the plugin ID and uses the @Subscribe annotation. We really don’t want the equivalent of Bukkit’s BcBroz.
Edit: The video you linked is outdated. However, the dude’s channel has updated videos, and has uploaded videos as recently as five hours ago. This actually looks like a great resource, my b.
Well, I tried whatever I could on IntelliJ but nothing that he videos taught me quite worked, so I moved to eclipse and now when I am nearly there I got this:
:compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:compileJava’.
Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_121 contains a valid JDK installation.
Well umm… that’s your problem. You need a JDK (Java Development Kit), not a JRE (Java Runtime Enviroment)… either the path is pointing to the wrong folder, or you haven’t installed the JDK…