When searching for this error, the forums said that I should run "gradlew setupDecompWorkspace".Įdit: btw, people on videotutorials never had any problem while doing "gradlew setupDecompWorkspace". I searched for "minecraft not launching eclipse" or something like that and it told me to replace the default Main Class on the run config with "GradleStart", which I did only to get another error message:Įrror: Could not find or load main class GradleStart When I attempted that, it gave me this error message:Įxception in thread "main" at java.base/.invoke0(Native Method)Īt java.base/.invoke(())Īt java.base/.invoke(())Īt java.base/.invoke(())Īt .start(())Īt .main(())Ĭaused by: : class $AppClassLoader cannot be cast to class ($AppClassLoader and are in module java.base of loader 'bootstrap') at .(())Īt .main(()) Following it, everything seemed to go smoothly until it was time to run Minecraft from Eclipse. I know this to be true for 1.13+, but they didn't specify versions, so I searched and found ( ) for 1.12.2 that doesn't make me use that command. Open that, you should see all your eclipse projects there. This window will pop up and you should click the ‘Environment Variables’ button at the bottom. 2 Recommended - Take the files pop them in a folder named LogBlock and then go to your root folder for eclipse. On Windows (in your Metro interface, not desktop mode), click on the Search bar and type ‘Edit the System’ and the following will appear: Click on the ‘Edit the system environment variables’ link. This could take a LONG time depending on the files.
#HOW TO USE ECLIPSE JAVA MINECRAFT INSTALL#
However, other people said that setupDecompWorkspace is no longer necessary. Once decomplied there are 2 things you can do: 1 - Import the files into eclipse. If you want to install Eclipse then go to the Eclipse website, do NOT trust some vague minecraft modding site for all you know they could be trying to feed. Some people on the internet say this is due to certain outdated java versions, but I have the newest 圆4 JDK and JRE versions for Java 8. Then, you need to get the Eclipse IDE for writing Java (Eclipse IDE for Java Developers): download the Eclipse. However, when I do 'gradlew setupDecompWorkspace' to download all the necessary stuff, it says "task setupDecompWorkspace not found in root project". Try this fun Minecraft tutorial for kids.
#HOW TO USE ECLIPSE JAVA MINECRAFT MOD#
I am trying to make my first very basic mod for 1.12.2, so I was following the ( ) tutorial. But you know what isn't fun? Having a problem that nobody on the internet seems to have a useful answer for. Minecraft you can only wear you boots on your head, or your helmet on your chest, or your chestplate on your feet. So I have some knowledge of OOP, and figured I could learn as I go along with modmaking, which sounds really fun. Minecraft - I can't wear my Armor on the right parts of my character.