Hey! Welcome to the Intro to Modding landing page! Here you’ll find resources to help you either get started with or continue your Minecraft modding career.
Below are some handy links to important resources:
Java Download Page
Eclipse Download Page
Forge Download Page (Minecraft 1.7.10)
These resources aren’t required but may be helpful to you:
Modding Foundation Source
Mekanism Source (if you want examples of content)
Download and initial setup instructions:
- Ensure you have JDK 7 or greater installed. If you’re not sure, you can check by opening up Command Prompt (Terminal on OS X) and typing ‘javac -version’ – if the version is listed as 1.7 or higher you’re ready to go. Otherwise, use the ‘Java Download Page’ link provided above.
- Download Eclipse (if not already installed) using the ‘Eclipse Download Page’ link provided above. Make sure you download the correct framework (32 bit or 64 bit) for your machine.
- Download a Forge source package (latest for 1.7.10 provided above). Extract the zip to a good workspace location.
- Create a folder to keep all your mod’s resources in (both source code and assets) and make the following base file structure if you’re starting from scratch.
- Base file structure:
- <Mod folder>/src/main/java
- <Mod folder>/src/main/resources
- Base file structure:
Forge setup instructions:
- Open up Command Prompt (or Terminal) and change directory to your Forge workspace folder (the one that contains ‘gradlew’, ‘src’, ‘etc’)
- You can do this by typing ‘cd ‘ (space included) into the command prompt, dragging the folder right into the window, and then pressing enter
- Run the ‘gradlew’ setup script and wait until the setup completes (this can take a while)
- On a PC, type ‘gradlew setupDecompWorkspace eclipse –refresh-dependencies’
- On a Mac, type ‘./gradlew setupDecompWorkspace eclipse –refresh-dependencies’
Eclipse setup instructions (this one’s a bit complicated):
- Launch the ‘eclipse’ application wait for initialization to complete
- When prompted, select the ‘eclipse’ folder in your Forge workspace directory as your workspace
- Once Eclipse is fully open, right-click in the Package Explorer on the left and select ‘New Java Project’
- Set the project name to what you intend your mod to be called and press ‘Next’
- Right click the ‘src’ folder and select ‘Remove from Build Path’
- Select the ‘Projects’ tab, press the ‘Add’ button, select ‘Minecraft’ and hit ‘OK’
- Select ‘Finish’
- On the Package Explorer, expand your project folder, right-click the ‘src’ folder and press ‘Delete’
- Right-click your project folder and select New -> Folder
- Set the folder name to ‘src’, press ‘Advanced >>’ and select ‘Link to alternate location (Linked Folder)’
- Press ‘Browse’ and choose the ‘java’ folder in your mod folder (<folder>/src/main/java)
- Press ‘Finish’
- Repeat steps 9-12, but with folder name ‘resources’ and choosing the ‘resources’ folder in your mod folder (<folder>/src/main/resources)
- Select the downwards-facing arrow on the toolbar to the right of the green start button and press ‘Run Configurations…’
- Select the first ‘Client’ element on the list to the left of the window and press the ‘Classpath’ tab
- Select ‘User Entries’ from the list and press the ‘Add Projects…’ button to the right
- Check your project from the list and uncheck the two boxes below (‘Add exported…’/’Add Required…’)
- Press ‘OK’ and then ‘Apply’
- Repeat steps 15-18 for the first ‘Server’ entry on the list to the left
- Close out of the window
If anything is confusing for you, please don’t hesitate to reach out to me- my public email is [email protected].