> For the complete documentation index, see [llms.txt](https://docs.glazedclient.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glazedclient.com/overview/how-to-install-glazed/how-to-build-glazed.md).

# How to Build Glazed

### ✅ Requirements

Make sure you have the following installed:

* **Java Development Kit (JDK 17)**
  * Download JDK 17
* **Windows OS** (for using `gradlew.bat`)
* **Git** (optional, for cloning the repo)

***

### 📥 Step 1: Get the Source Code

#### Option A: Clone with Git

```
git clone https://github.com/realnnpg/Glazed.git
cd Glazed
```

#### Option B: Download ZIP

1. Visit <https://github.com/realnnpg/Glazed>
2. Click **"Code" > Download ZIP**
3. Extract the ZIP and open the folder

***

### 🏗️ Step 2: Build with Gradle

1. Open **Command Prompt** in the `Glazed` project folder
2. Run:

```
gradlew.bat build
```

Gradle will download dependencies and compile the addon. This may take a few minutes on first run.

***

### 📂 Step 3: Locate the Output File

After the build completes, go to:

```
Glazed\build\libs\
```

You’ll find a file like:

```
glazed-<version>.jar
```

***

### 🚀 Step 4: Install in Minecraft

1. Move the `.jar` file to your `.minecraft/mods` folder:

   ```
   %appdata%.minecraft\mods
   ```
2. Then drag it to the mods folder and there you have it a compiled version of glazed


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glazedclient.com/overview/how-to-install-glazed/how-to-build-glazed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
