From 9b220296974ee9e4a9de723cd6cfa72a35c7d72c Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 07:51:21 +0000 Subject: [PATCH 1/3] Update wiki/data/overview.mdx Generated-By: mintlify-agent Mintlify-Source: dashboard-editor --- wiki/data/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/data/overview.mdx b/wiki/data/overview.mdx index f948e4ff..b990d858 100644 --- a/wiki/data/overview.mdx +++ b/wiki/data/overview.mdx @@ -779,7 +779,7 @@ The `biomes.json` manifest defines terrain biomes with vegetation, mobs, and env - **Desert** - Arid wasteland with sand dunes (difficulty 2) - **Lakes** - Water bodies and fishing spots (difficulty 0) - **Swamp** - Murky wetlands with twisted vegetation (difficulty 1) -- **Canyon** - Red-rock canyon lands with terraced mesas (difficulty 2, NEW) +- **Canyon** - Red-rock canyon lands with terraced mesas and steep slopes (difficulty 2, maxSlope: 2.5) ### Biome Vegetation Layers From e1443f7ca2c2390f73da22621cb73e35f0cd50b6 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 07:51:44 +0000 Subject: [PATCH 2/3] Update wiki/data/overview.mdx Generated-By: mintlify-agent Mintlify-Source: dashboard-editor --- wiki/data/overview.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wiki/data/overview.mdx b/wiki/data/overview.mdx index b990d858..5b3f68db 100644 --- a/wiki/data/overview.mdx +++ b/wiki/data/overview.mdx @@ -801,7 +801,10 @@ interface VegetationLayer { } ``` -**Recent Updates**: +**Recent Updates** (March 2026): +- **Canyon biome added**: New red-rock canyon biome with terraced mesas, steep slopes (maxSlope: 2.5), and sparse desert vegetation +- **Model bounds manifest**: Pre-calculated bounding boxes and footprints for all 3D models in `model-bounds.json` for efficient collision detection +- **CORS headers**: Cross-origin asset loading support added to CDN (Caddyfile configuration) - **165 tree model variants** added across 12 tree types (bamboo, birch, cactus, chinaPine, coconut, dead, fir, knotwood, maple, oak, palm, pine) with 3 LOD levels each - **Tree model depth normalization**: All fir variants aligned to fir_03's minY (-59.46), all maple variants aligned to maple_01's minY (-114.76) to prevent floating - **Maple tree recoloring**: Leaves changed to warm vermillion red-orange (#D04838) @@ -814,10 +817,7 @@ interface VegetationLayer { - Tree density reduced in plains biome (8 → 5) - Mushroom clustering varies by biome (cluster size 3-8) - Firemaking fire 3D model added (`models/firemaking-fire/firemaking-fire.glb`) -- Tree model scales adjusted for better visual proportions (March 2026) -- Fir and maple model root depths normalized to prevent floating (March 2026) - - All fir variants aligned to fir_03's minY (-59.46) - - All maple variants aligned to maple_01's minY (-114.76) +- Tree model scales adjusted for better visual proportions --- From 8fdbca9a23bb264d0869b4a854ed50dfba00bfea Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 07:51:58 +0000 Subject: [PATCH 3/3] Update guides/deployment.mdx Generated-By: mintlify-agent Mintlify-Source: dashboard-editor --- guides/deployment.mdx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/guides/deployment.mdx b/guides/deployment.mdx index 0a29fcb5..b23f2f48 100644 --- a/guides/deployment.mdx +++ b/guides/deployment.mdx @@ -438,15 +438,30 @@ assets/ ### CORS Configuration for Assets -The assets CDN is configured with CORS headers to allow cross-origin loading from game clients: +The assets CDN is configured with CORS headers to allow cross-origin loading from game clients. This is essential for loading 3D models, textures, audio, and manifests from the CDN. +**Cloudflare R2 Configuration:** ``` Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, HEAD, OPTIONS Access-Control-Max-Age: 86400 ``` -This enables the game client to load 3D models, textures, and manifests from the CDN regardless of the client's origin. The CORS configuration is automatically applied to all assets served from Cloudflare R2. +**Local Development (Caddyfile):** +``` +:8080 { + root * /assets + file_server browse + + header { + Access-Control-Allow-Origin * + Access-Control-Allow-Methods "GET, HEAD, OPTIONS" + Access-Control-Max-Age 86400 + } +} +``` + +This enables the game client to load assets from the CDN regardless of the client's origin. The CORS configuration is automatically applied to all assets served from both Cloudflare R2 (production) and the local Caddy server (development). ### Development CDN Fallback