| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| docs | ||
| highlands-datapack | ||
| planet-datapacks | ||
| previews | ||
| src | ||
| trails | ||
| build.gradle.kts | ||
| README.md | ||
| settings.gradle.kts | ||
DuneTerrain for Paper 1.21.8
DuneRealms terrain runs on Java 21. Build with gradle build; install build/libs/DuneRealms-Terrain.jar. Keep the existing plugin name/data directory DuneTerrain. Existing worlds, player data and configuration files are preserved; new terrain applies only to new chunks. Do not delete or regenerate an existing world to install this update.
Arrakis update
- Dune-highlands (
dunerealms:dune-highlands): irregular, terrain-aligned darkstone mountain regions, roughly 100 blocks across, with three sand terraces. Default terrace rise is four blocks (hard maximum five). Mountain sides rise 32 blocks before the terraces; narrow erosion ridges and jagged darkstone spires add up to 40 blocks on the outer shoulders, leaving the three upper flat terraces intact. Three additional broad sand ledges near the foot of the mountain also have four-block default steps; a steep rocky shoulder separates the lower and upper terrace groups. Centres have a 300–500-block gap to their north, south, east and west neighbours. These replace the old circular plateau formations. - Dense Spice (
dunerealms:dense-spice): one 30 × 30 rich patch per 512-block placement region, with seed-dependent positions. This is configurable village-like density, not vanilla village placement. Deep orange terracotta represents finite rich spice sand. Each authentic deposit yields four existing tagged Melange Spice items by default. Silk Touch and Fortune cannot clone or multiply it; creative mining consumes the deposit without a reward. A chunk Persistent Data Container stores each deposit's position and removes it on harvest. Ordinary orange terracotta has no spice value. Pistons and explosions cannot move or duplicate registered deposits. Ledger state persists in normal chunk saves across restarts; restoring a world backup restores its historical deposits too. - A persistent spice seller appears in the centre of each new rich field. Right-click opens the shared native menu and offers 16 tagged spice at standard DuneEss price × 1.35. At 15 Solaris each, 16 cost 324 Solaris. Existing spice sales, taxes and CHOAM trading remain unchanged. Confirming purchases checks distance, inventory capacity and successful economy withdrawal.
- Desert villages: custom four-house sandstone settlements, with cut-sandstone lanes, villagers, beds, non-farming workstations, lanterns and finite shared supply chests. No farmland, crops or hay bales enter the structure palette. Chests use
dunerealms:chests/desert-village: bread, dried kelp, apples and raw iron. Placement regions default to 768 blocks, with terrain suitability checks. - Harkonnen garrison fortress (pillager-outpost mechanic): a walled black-stone fortress with four searchlight towers, a three-storey keep (barracks, armoury, command room, roof), a landing pad, a cell block, a supply depot and a vault under the keep. Placement copies the vanilla pillager outpost: one attempt per 32x32-chunk region, 8 chunks of separation, 20% frequency (
harkonnen-fortress.spacing-chunks|separation-chunks|frequency). Harkonnen pillagers (8 guards plus a commander, black dyed armour, no bad-omen banner) are spawned when a player comes near and replaced afterrespawn-seconds. The vault chest is filled on first open with one Harkonnen stillsuit piece plus 3 random valuables (Maker's Tooth when supported by DuneCore, refined spice, spice block, smuggler shovel, etc.; override withharkonnen-fortress.loot). Chests from the old temple-style fortress keep their loot rules. - Abandoned Fremen village: always generated beside a Harkonnen outpost (one of eight fixed offsets chosen from the outpost id): a dry cistern, broken windtrap, six sand-drifted sandstone and terracotta houses with faded Fremen-blue cloth, dry qanat channels and two caches. No villagers, no farmland.
Arrakis generates small, medium, and large sietches on separate grids with default spacing of 600, 900, and 2,000 blocks. Larger tiers take priority when footprints overlap. Each tier has independent enabled and spacing settings under sietches. Placement applies as chunks generate.
Oasis trees, personal cave sietch supplies, regular suspicious-sand spice deposits and magma-marked spice blows remain enabled. Custom structures are generated only on the Arrakis world.
Server datapack installation
gradle build also creates build/distributions/DuneRealms-Dune-Highlands-Datapack.zip, containing both custom biomes and the structure loot tables. While the server is stopped, copy this ZIP into the primary world's datapacks/ directory (the world selected by level-name in server.properties), then restart before exploring new terrain. For a primary world named world, use world/datapacks/; for primary Arrakis, use arrakis/datapacks/. Do not replace level.dat, world folders or plugin data. Keep the datapack installed after generating custom-biome chunks. It uses Minecraft 1.21.8 data pack format 81.
The pack is server-side: no client mods or mandatory resource packs. Without it, the plugin safely uses Desert biome metadata and direct fallback chest supplies; terrain geometry still works. Custom-biome climate and tint translation through Geyser must be checked on a live Java/Bedrock staging network; no live client compatibility is claimed by unit tests.
For Arrakis as the primary world, use:
worlds:
arrakis:
generator: DuneTerrain:arrakis
biome-provider: DuneTerrain:arrakis
Set server.planet in plugins/DuneTerrain/config.yml to arrakis, giedi_prime, kaitain, caladan or sigma_draconis_iv. Public Velocity server names may use hyphens; these internal planet IDs keep underscores. A separate planet world created by the plugin gets its generator and biome provider directly.
Existing configurations receive the new features through code defaults. Old radius defaults 10/18 automatically upgrade to 45/55; customized radii are retained. planets.arrakis.highlands now controls formation enablement, density and mountain rise. The old darkstone-islands radius and terrace settings remain compatible, but its old spacing and enabled values no longer control highlands. Use highlands.enabled to disable the replacement. New density options are dense-spice.spacing, desert-villages.spacing and harkonnen-fortress.frequency.
DuneNPC continues to own Guild Navigators. Install updated DuneCore and DuneEss alongside Terrain for authentic fortress kits and native spice-seller purchases.
Validation limits
Gradle tests cover irregular terrain contours, terrace steps, cardinal spacing, biome footprint alignment, 30 × 30 patch bounds, seeded rarity and deposit identity persistence/consumption. A reflection probe invokes the actual compiled terrain code to render a development preview. Compilation and mocks do not validate server startup, generated-world registry persistence, chunk event timing, structure physics or real Java/Bedrock/ViaVersion clients. Exercise these on a separate staging world before production. No existing user world was opened or changed during development.

Staff