I am able to setup and build the workspace and that stuff that way by running gradlew setupDecompWorkspace and gradlew eclipse for Minecraft forge versions 1.10.2 and 1.11.2.
I'm using the newest version of eclipse and I have the versions of java that are jre 8 251 and the jdk 8 251
Whenever running gradlew setupDecompWorkspace or gradlew eclipse with forge version 1.12.2 - 1.16.1 I get some error about gradlew version 4.0 or something that way and it's not right.
gradlew wrapper --gradle-version=4.9 being input as the command results in the same error:
"Deprecated gradle features were used in this build, making it incompatible with gradle 5.0."
Which is the same error I get with the gradlew setupDecompWorkspace and gradlew eclipse commands.
This error applies to all versions of forge between 1.12.2 and 1.16.1.
The only option the gradle website gives you is to manually install it with the gradle 6.5.1-all.zip thing.
Although what I am needing is a way to install gradle 4.9 for this to work and running gradlew gradle returns with the same error that the build uses code that isn't compatible with gradle 5.0.
You can also just search gradle releases, scroll down to the 4.9 one and click on the user manual then click installing gradle under getting started, that is the installation instructions for gradle 4.9. A download for 4.9 is available on the releases page.
Read the readme in the forge folder, it's no longer gradlew setupDecompWorkspace, it's now or for at least 1.12.2 gradlew genEclipseRuns or gradlew genIntellijRuns.
Create a folder somewhere and then open that in eclipse. Then do file -> import -> general -> existing project into workspace, and then select the folder for the project (where you unzipped the mdk).
"Some projects cannot be imported because they already exist in the workspace or their project description file is corrupted
Invalid project description.
C:\Users\User\Desktop\forge-1.12.2-14.23.5.2854-mdk overlaps the workspace location: C:\Users\User\Desktop\forge-1.12.2-14.23.5.2854-mdk\New folder"
Then it wouldn't open up my code with the minecraft srg if the folder was not inside of the folder with that information to open the project though.
It does not appear that the code is correct and is deprecated if you do not have really fast internet then is incompatible with gradle 5.0.
The second thing about that is following the instructions to set up forge does not work by using the README file.
.Json's are not used for crafting recipes. There could be something else causing this problem though?
gradlew genEclipseRuns and gradlew eclipse does not work to open up a workspace that has a project while using the MDKexample source.
"Generating a run does not logically have the same uses or purposes based on the logical occurrence of java code."
Using gradlew eclipse does not generate a .eclipse file to open the workspace with.
Manually importing the project does not work.
Using gradlew setupDecompWorkspace and gradlew eclipse with 1.10.2 and 1.11.2 works alright, so I imagine that it works for the previous versions. Although I am getting the same errors with the newer ones that way though.
You should have a folder to store all your eclipse projects, that is your workspace folder. You then have a folder that is the name of your mod, in which then you put everything from the forge mdk folder into your mod folder, the mod folder should be in the workspace folder. Then run the commands gradlew genEclipseRuns and gradlew eclipse for your mod folder. Then open Eclipse and choose the workspace folder that contains your mod folder. Then in Eclipse do import Existing Project into Workspace and choose your mod folder. If it doesn't import you can also try only running the command gradlew genEclipseRuns and not gradlew eclipse, then in Eclipse import as Existing Gradle Project. If it is still not working, you should just watch a YouTube video on how to setup mod project.
For minecraft versions 1.12.2 - 1.16.1, json files are now used for crafting recipes.
Also a lot of things change for newer versions of minecraft modding, it's not always the same or similar. There is a big difference between 1.11.2 and 1.12.2.
For last, the ReadMe does show all the minimum steps that are needed to setup your mod project. Also delete any example or test files from when you copy the forge mdk folder files.
With the 1.11.2 version you run gradlew setupDecompWorkspace then gradlew eclipse and then you open the src folder by opening eclipse by selecting the folder that is named "eclipse".
The 1.11.2 version with both commands ran looks like so and all you have to do is select the eclipse folder to open up your project by clicking eclipse:
1.12.2 forge ran with the command gradlew genEclipseRuns does the following:
Where I am having the problem is step 2 because I don't know how to do this without gradlew eclipse generating a folder for me to open the project:
It is a really confusing thing because I need the eclipse folder to generate from my gradlew eclipse command to generate the eclipse folder in order to open my src after opening eclipse with the mdkexample which is the original folder with the name "src".
Then what I do is I open eclipse again by replacing the src folder with my src folder. By doing so what it does is it opens like this so I can see based on my code and how it is in comparison that way to the forgeSrc. For example I would need to make a change in aku.example.blocks in order for the gradlew build command to work using the 1.11.2 version:
I may have to move my computer to a new location to have a better internet signal is what it is.
I got the gradlewGenRuns command to complete to 100% but then moving the mdk into three folders on the desktop and running the same command again resulted in an error.
Could be that my powerful cell phone with 4GB of data a month is not as powerful as doing this somewhere with some form of wire internet of some kind.
Not having the same issues with any version where you can enter the command /gamemode 1 or /gamemode 0 in the game.
I figured it was a folder in the mdk or something you had to import for it to open in eclipse when you open the whole mdk folder and then it's imported that way or somethin'.
I am able to setup and build the workspace and that stuff that way by running gradlew setupDecompWorkspace and gradlew eclipse for Minecraft forge versions 1.10.2 and 1.11.2.
I'm using the newest version of eclipse and I have the versions of java that are jre 8 251 and the jdk 8 251
Whenever running gradlew setupDecompWorkspace or gradlew eclipse with forge version 1.12.2 - 1.16.1 I get some error about gradlew version 4.0 or something that way and it's not right.
You need to have the right gradle version, as certain versions will not work (5.0+ doesn't work, but 4.9 should be fine).
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
Do you have a link to that or how would I get that though?
Running gradlew gradle doesn't work, then it needs to be downloaded I'm guessing.
I downloaded the gradlew 6.5.1-all.zip that way and all that but I'm not sure what to do with that either.
So how do I get the right gradle version if the command in the console doesn't install gradle for that version of Minecraft forge for Minecraft?
I think on mac
should work (if you already have gradle). The command is something similar on windows.
you don't want 6.5.1 since versions above 5.0 won't work.
As for a guide on installing, here it is:
https://docs.gradle.org/4.9/userguide/installation.html
4.10.3 should also work but I've linked the 4.9 one since that is the version I have.
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
gradlew wrapper --gradle-version=4.9 being input as the command results in the same error:
"Deprecated gradle features were used in this build, making it incompatible with gradle 5.0."
Which is the same error I get with the gradlew setupDecompWorkspace and gradlew eclipse commands.
This error applies to all versions of forge between 1.12.2 and 1.16.1.
The only option the gradle website gives you is to manually install it with the gradle 6.5.1-all.zip thing.
Although what I am needing is a way to install gradle 4.9 for this to work and running gradlew gradle returns with the same error that the build uses code that isn't compatible with gradle 5.0.
The link is to the 4.9 instructions.
You can also just search gradle releases, scroll down to the 4.9 one and click on the user manual then click installing gradle under getting started, that is the installation instructions for gradle 4.9. A download for 4.9 is available on the releases page.
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
I downloaded the 4.10.3 version
I created a new folder in the Local Disk (C:) drive named "Gradle"
Then I extracted the contents of the zip into that folder.
I changed the environment variable for path by adding the following to it:
C:\Gradle\gradle-4.10.3\bin
I ran gradlew gradle and gradlew setupDecompWorkspace and I get in return the same error:
"Could not find net.minecraft:client:1.12.2."
Searched in the following locations:
- https://files.minecraftforge.net/maven/net/client/1.12.2/client1.12.2.pom
With six more locations that it searched for.
"Deprecated Gradle features were used in this build, making it incompatible with gradle 5.0."
Read the readme in the forge folder, it's no longer gradlew setupDecompWorkspace, it's now or for at least 1.12.2 gradlew genEclipseRuns or gradlew genIntellijRuns.
Running the gradlew genEclipseRuns thing worked or something which went to 100% and running gradlew eclipse worked as well going to 100%.
How do I open it up with Eclipse if there is not a .eclipse folder though?
Create a folder somewhere and then open that in eclipse. Then do file -> import -> general -> existing project into workspace, and then select the folder for the project (where you unzipped the mdk).
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
I clicked file, did the import thing, and I got this error by selecting the one following folder:
Select root directory: C:\Users\User\Desktop\forge-1.12.2-14.23.5.2854-mdk
Invalid project description.
"Some projects cannot be imported because they already exist in the workspace or their project description file is corrupted
Invalid project description.
C:\Users\User\Desktop\forge-1.12.2-14.23.5.2854-mdk overlaps the workspace location: C:\Users\User\Desktop\forge-1.12.2-14.23.5.2854-mdk\New folder"
I think the folder to open it in needs to be outside of the project folder.
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
Then it wouldn't open up my code with the minecraft srg if the folder was not inside of the folder with that information to open the project though.
It does not appear that the code is correct and is deprecated if you do not have really fast internet then is incompatible with gradle 5.0.
The second thing about that is following the instructions to set up forge does not work by using the README file.
.Json's are not used for crafting recipes. There could be something else causing this problem though?
gradlew genEclipseRuns and gradlew eclipse does not work to open up a workspace that has a project while using the MDKexample source.
"Generating a run does not logically have the same uses or purposes based on the logical occurrence of java code."
Using gradlew eclipse does not generate a .eclipse file to open the workspace with.
Manually importing the project does not work.
Using gradlew setupDecompWorkspace and gradlew eclipse with 1.10.2 and 1.11.2 works alright, so I imagine that it works for the previous versions. Although I am getting the same errors with the newer ones that way though.
You should have a folder to store all your eclipse projects, that is your workspace folder. You then have a folder that is the name of your mod, in which then you put everything from the forge mdk folder into your mod folder, the mod folder should be in the workspace folder. Then run the commands gradlew genEclipseRuns and gradlew eclipse for your mod folder. Then open Eclipse and choose the workspace folder that contains your mod folder. Then in Eclipse do import Existing Project into Workspace and choose your mod folder. If it doesn't import you can also try only running the command gradlew genEclipseRuns and not gradlew eclipse, then in Eclipse import as Existing Gradle Project. If it is still not working, you should just watch a YouTube video on how to setup mod project.
For minecraft versions 1.12.2 - 1.16.1, json files are now used for crafting recipes.
Also a lot of things change for newer versions of minecraft modding, it's not always the same or similar. There is a big difference between 1.11.2 and 1.12.2.
For last, the ReadMe does show all the minimum steps that are needed to setup your mod project. Also delete any example or test files from when you copy the forge mdk folder files.
With the 1.11.2 version you run gradlew setupDecompWorkspace then gradlew eclipse and then you open the src folder by opening eclipse by selecting the folder that is named "eclipse".
The 1.11.2 version with both commands ran looks like so and all you have to do is select the eclipse folder to open up your project by clicking eclipse:
1.12.2 forge ran with the command gradlew genEclipseRuns does the following:
Where I am having the problem is step 2 because I don't know how to do this without gradlew eclipse generating a folder for me to open the project:
It is a really confusing thing because I need the eclipse folder to generate from my gradlew eclipse command to generate the eclipse folder in order to open my src after opening eclipse with the mdkexample which is the original folder with the name "src".
Then what I do is I open eclipse again by replacing the src folder with my src folder. By doing so what it does is it opens like this so I can see based on my code and how it is in comparison that way to the forgeSrc. For example I would need to make a change in aku.example.blocks in order for the gradlew build command to work using the 1.11.2 version:
The forge mdk folder, should be in another folder that contains all your mod projects. Like my mod projects are all in a folder called Mod Projects.
You then run both the commands gradlew genEclipseRuns and gradlew eclipse for the forge mdk folder.
Then open Eclipse and for workspace you select the folder that contains the forge mdk folder.
Then in Eclipse right click and select import.
After, you go into General and select Existing Project into Workspace.
Then click Browse and select the forge mdk folder and click Finish.
Then it should apper in your Package Explorer
Thanks, now I know how it works though partially.
I may have to move my computer to a new location to have a better internet signal is what it is.
I got the gradlewGenRuns command to complete to 100% but then moving the mdk into three folders on the desktop and running the same command again resulted in an error.
Could be that my powerful cell phone with 4GB of data a month is not as powerful as doing this somewhere with some form of wire internet of some kind.
Not having the same issues with any version where you can enter the command /gamemode 1 or /gamemode 0 in the game.
I figured it was a folder in the mdk or something you had to import for it to open in eclipse when you open the whole mdk folder and then it's imported that way or somethin'.