0
\$\begingroup\$

I'm starting out creating Minecraft mods with my son.

I've seen one YouTube tutorial which sets up project with Eclipse.

Since I don't like Eclipse much, I ask: how would I setup IntelliJ or Android Studio(if feasible) to develop Minecraft mods?

My son specifically want to create roller coaster mods.

| improve this question | | | | |
\$\endgroup\$
  • \$\begingroup\$ Welcome to Game Development! "Is it possible to..." is kindof a yes/no question, and asking for tutorial calls for link-only answers (which we don't like here). Asking how it's done should get you better answers :) \$\endgroup\$ – Vaillancourt Dec 15 '19 at 3:52
  • 1
    \$\begingroup\$ Download Forge. Open the readme. Follow the "if using IntelliJ..." instructions. \$\endgroup\$ – Draco18s no longer trusts SE Dec 15 '19 at 5:05
  • \$\begingroup\$ @Draco18s thanks, can you make it an answer so I can accept.. \$\endgroup\$ – eugene Dec 15 '19 at 8:45
1
\$\begingroup\$
  1. Download IntelliJ
  2. Download Minecraft Forge from https://files.minecraftforge.net/, you'll want the MDK
    • Depending on your needs, the recommended version is fine, but as changes are being made regularly, downloading the most current might be beneficial.
  3. Extract the zip into a new folder, I use a nested structure where I have one folder called "Minecraft Mods" and inside that a folder for each version of Forge (e.g. "Forge 1.12.1-2462" and "Forge 1.14.4-39"). Inside each of those is another folder that contains the zip archive contents (I used to skip this inner folder, but the project setup changed and Eclipse didn't like things; not sure how IntelliJ plays). I use this structure so that when I update from one version to another, I have an old workspace that still runs.
  4. Open the readme and follow the directions:

If you prefer to use IntelliJ:

  1. Open IDEA, and import project.
  2. Select your build.gradle file and have it import.
  3. Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
  4. Refresh the Gradle Project in IDEA if required.

There may be additional issues if you are on a Mac (because of the auto-generated .DS_Store files that us Windows folk hate cleaning up; Minecraft will attempt to parse these as resources, and I can't find a posted solution atm) and you might run into an issue with assets (solution linked).

| improve this answer | | | | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.