No description
  • Java 99.6%
  • GLSL 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-01 05:55:29 +02:00
.vscode Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
gradle/wrapper Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
lib Initial commit for 1.12.2 source code. 2025-02-08 18:39:26 +01:00
src/minecraft Fix main menu image loading, and fix a bunch of warnings. 2025-06-01 05:55:29 +02:00
.gitignore Update LWJGL3 injector 2025-02-09 21:39:18 +01:00
build.gradle Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
gradle.properties Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
gradlew.bat Modernize buildsystem. Add MethodsReturnNonnullByDefault to utils. Update package-info & fix a couple of deprecations. 2025-02-17 13:42:22 +01:00
local.properties Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
README.md Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
run_gradle.bat Add vscode env files, update to J24 & update gradle. 2025-06-01 04:52:07 +02:00
settings.gradle Initial commit for 1.12.2 source code. 2025-02-08 18:39:26 +01:00

Minecraft 1.12.2 Development Environment

Setup Instructions

  1. Open this project in Visual Studio Code
  2. Make sure you have the Java Extension Pack installed in VSCode
  3. Run the setupMinecraft task 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:

  1. Pressing Ctrl+Shift+P and typing Tasks: Run Task
  2. Selecting the task you want to run

Alternatively, you can use the Terminal menu: Terminal > Run Task

Debugging

Two debug configurations are available:

  1. Debug Minecraft Client: Launches and debugs the Minecraft client
  2. Debug Minecraft Server: Launches and debugs the Minecraft server

To start debugging:

  1. Press F5 or go to Run > Start Debugging
  2. 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 setupMinecraft task 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)