Skip to content

Getting Started

Emy 💜 edited this page Dec 12, 2025 · 4 revisions

Contents

  1. Requirements
  2. Setting up the project
  3. Debugging

Requirements

You need the following:

Setting Up

  • Clone the repository git clone https://github.com/lambda-client/lambda
  • Open the project folder in IntelliJ IDEA
  • Set the java runtime version in File > Project Structure > Project > SDK to your Java version
  • Set the Gradle JVM version in File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Distribution to Project SDK
  • If you are prompted to load the project gradle file, do so, otherwise restart IntelliJ
  • Wait for Gradle to resolve dependencies and set up the project

As long as nothing supernatural happens, you should now be able to run Lambda inside the IDE using the run configurations

Generating Minecraft sources

Run gradle genSources to generate sources for all loaders

This will allow you to better debug the game's code

Debugging

Let's say, hypotetically, that something supernatural happens, here are some common errors and how to fix them

Error: Could not find or load main class dev.architectury.transformer.TransformerRuntime

  • Check if you have correctly setup the java environment
  • Delete all the files and folder shown here below in the .idea and .gradle folder and restart the IDE
  • Manually delete the all the run configurations and run gradle ideaSyncTask

Clone this wiki locally