- Install Oracle JDK 8.
- Install an IDE.
- I prefer IntelliJ Community Edition
- But Eclipse works too, pick "Eclipse IDE for Java Developers"
- Download and install Git
- Clone this repository.
- From a command window in the directory where you want to clone into, enter
git clone https://github.com/brianfromoregon/ForgeProject.git
- Download all the dependencies.
- From a command window in the ForgeProject directory, enter
gradlew --refresh-dependencies setupDecompWorkspace eclipse
- These steps are only required if you are using IntelliJ.
- Open IntelliJ, choose Import Project, and select the build.gradle file inside the ForgeProject directory. Press OK twice.
- After import finishes open Run > Edit Configurations, click the green plus button, select Application, and set these values:
- Name: Minecraft
- Main class: GradleStart
- Use classpath of module: ForgeProject_main
- Press OK and click the green play button.
- Run Minecraft from within the IDE
- Select Single Player, then Create New World, set Game Mode to Creative, and click create.
- Type the word draw in chat and see if a line of glass blocks is created in front of you