Workshop 1 introduces the software and documentation required for basic Minecraft modding. During the modding walkthrough, participants will learn how to implement a custom block and item.
This workshop assumes basic java knowledge. For a refresher, see the Java Introduction page.
Download and install IntelliJ IDEA
Download and install a JDK
Download an MDK. Choose the version corresponding to the Minecraft version you will be modding. Opt for "Download Recommended", choose "Mdk". This part looks sketchy... but is safe!
- Copy the repository URL (https://github.com/riri404/Workshop)
- Open IntelliJ. From the main menu, select "Get from VCS"
- In the Repository URL tab, paste the URL. Choose a directory for the project
- Click "Clone"
- Choose "Trust Project"
- Wait for "Gradle: build" to complete (this may take several minutes)
- Open command line/Terminal
- Create a directory for the project (either manually, or in the command line using
mkdir <your directory name>
command) - Open the project directory using
cd <your directory name>
command - Enter
git clone https://github.com/riri404/Workshop
to clone the repository into the open directory - Enter
./gradlew build
command - Wait until
BUILD SUCCESSFUL
is output
Once the repository is cloned and the build is complete, the mod is ready to run.
- On the right side of the window, click on the "Gradle" tab
- Open the dropdown, click "Tasks", "forgegradleruns"
- Click on
runClient
- Wait for Minecraft to launch
- Open command line/Terminal
- Open the project directory using
cd <your directory name>
command - Enter
./gradlew runClient
(orgradlew runClient
on Windows) - Wait for Minecraft to launch
Team Bamboo