Описание
**Inspired by FarPlane2**, this mod enhances render distance using Quad trees.

## Installation & Usage
1. Install the mod on both **client and server**.
2. Join a world - the mod activates automatically.
- *Note:* High resolutions may require longer loading times.
3. **Currently supports only noise-based chunk generators** (vanilla-compatible).
- The mod will notify you if any compatibility issues arise.
> ⚠️ **Development Notice**: This mod is still in active development and may have stability issues.
---
## ⚙️ Configuration
### **Client Settings** *(Editable in-game via Mods menu)*
| Setting | Description | Recommended Value |
|---------|-------------|--------------------------|
| **Quad Tree Radius** | Horizontal radius covered by the quad tree | `65536` blocks, big values may lead to high memory usage |
| **Quad tree max depth** | Maximum adaptive quad tree depth | Depends on tree radius and resolution |
| **Fade distance** | Distance used to fade in terrain beyond the vanilla render distance | Your render distance |
⚠️ If the server rejects client settings (e.g., unsupported resolution), the mod will auto-disable.
---
### **Server Settings** *(Can be found in world/server files)*
| Setting | Description |
|---------|-------------|
| **clientSide** | If `true`, sends seed/generator data to clients (*unsupported in current version*). If `false`, forces server-side generation. |
| **maxRadius** | Reject quad tree requests above this radius |
| **maxDepth** | Reject quad tree requests above this depth |
Last update removed quad tree generation on server for memory optimizations. Instead, server sends only heights in desired points.
---
## 🛠️ For Developers: Adding Compatibility
To integrate your custom world generator:
1. Implement `FarChunkGenerator` and register it in `FarChunkGenerators`.
2. For **client-side support**, create:
- `ClientFarChunkGenerator`
- `SerializableFarChunkGenerator`
---