Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mcenderdragon/6c7af2daf6f72b0cadf0c63169a87583 to your computer and use it in GitHub Desktop.
Save mcenderdragon/6c7af2daf6f72b0cadf0c63169a87583 to your computer and use it in GitHub Desktop.
Short command list of what is now needed to setup forge and MDK

If a command breaks, use --no-daemon as the ForgeGradle currently doesn't uses it

Setup MDK (For Modders who want to create a mod)

Running client

  • ./gradlew runClient

Running Server

  • ./gradlew runServer

Setup FORGE (for those wishing to work on forge directly)

  • Clone the Forge Repo
  • ./gradlew setup
  • If it crashes try running it again, as this sometimes helps
  • ./gradlew eclipse
  • this generates the eclipse files
  • you can then import the projects inside the "projects" folder in an existing workspace
  • ./gradlew genIntellijRuns for IntelliJ users
  • this creates the IntelliJ files
  • Setup IntelliJ

For Generating the Patches

  • ./gradlew :forge:genPatches

Running client

Vanilla client:

  • ./gradlew clean:runclient

Forge Client:

  • ./gradlew forge:runclient

Running Server

Forge Server:

  • ./gradlew forge:runserver
@xCOOLxGUYx
Copy link

I REALLY need a way to figure this out, im tired and haven't gotten even remotely close to being able to make the simplest mod because of this damn way they have everything set up. Like why cant it be like visual studio where you create the project and your good to go

@mcenderdragon
Copy link
Author

I recommend the forge discord if you have problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment