No description
- Java 99.6%
- GLSL 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| gradle/wrapper | ||
| lib | ||
| src/minecraft | ||
| .gitignore | ||
| build.gradle | ||
| gradle.properties | ||
| gradlew.bat | ||
| local.properties | ||
| README.md | ||
| run_gradle.bat | ||
| settings.gradle | ||
Minecraft 1.12.2 Development Environment
Setup Instructions
- Open this project in Visual Studio Code
- Make sure you have the Java Extension Pack installed in VSCode
- Run the
setupMinecrafttask to prepare your development environment
Available VSCode Tasks
- build: Compiles the project
- runClient: Runs the Minecraft client
- runServer: Runs the Minecraft server
- setupMinecraft: Sets up the Minecraft development environment (downloads assets, extracts natives, etc.)
- clean: Cleans the build directory
Running Tasks
You can run tasks in VSCode by:
- Pressing
Ctrl+Shift+Pand typingTasks: Run Task - Selecting the task you want to run
Alternatively, you can use the Terminal menu: Terminal > Run Task
Debugging
Two debug configurations are available:
- Debug Minecraft Client: Launches and debugs the Minecraft client
- Debug Minecraft Server: Launches and debugs the Minecraft server
To start debugging:
- Press
F5or go toRun > Start Debugging - Select the configuration you want to use
Notes
- The first time you run the client or server, it may take some time to download all required assets
- Make sure to run the
setupMinecrafttask before attempting to run the client or server - The project uses Gradle as its build system, and the VSCode tasks are configured to use the Gradle wrapper (
gradlew)