Enlarge Arrakis rock formations to roughly 100 blocks and expand manual artwork
This commit is contained in:
parent
c5184cee0c
commit
6670d60b5c
12 changed files with 963 additions and 845 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
DuneTerrain is a standalone Paper plugin that generates one Dune planet world per server. It includes the five planet profiles, terrain and ore generation, Arrakis spice deposits and sietches, safe world spawn setup, and a protected Spacing Guild navigator.
|
||||
|
||||
New darkstone formations now have up to three flat plateaus with at most five blocks between levels. With DuneCore installed, loaded spice blooms announce coordinates on Arrakis and start a fifteen-minute countdown to a network-wide Spacing Guild announcement. See [Session 2](../SESSION-2.md).
|
||||
New darkstone formations are approximately 100 blocks across (45-55-block radii), with up to three flat plateaus and at most five blocks between levels. Upgrading automatically replaces the old 10/18 default radii in an existing config, while preserving customized sizes. Existing generated chunks are unchanged. With DuneCore installed, loaded spice blooms announce coordinates on Arrakis and start a fifteen-minute countdown to a network-wide Spacing Guild announcement. See [Session 2](../SESSION-2.md).
|
||||
|
||||
## Build and install
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ Build the plugin from this directory with Java 21 and Gradle 8.14 or newer:
|
|||
gradle clean build
|
||||
```
|
||||
|
||||
Copy `build/libs/DuneTerrain-1.0.5.jar` into the Paper server's `plugins/` directory. Set `server.planet` in `plugins/DuneTerrain/config.yml` separately on each backend, then restart.
|
||||
Copy `build/libs/DuneTerrain-1.0.6.jar` into the Paper server's `plugins/` directory. Set `server.planet` in `plugins/DuneTerrain/config.yml` separately on each backend, then restart.
|
||||
|
||||
Valid values are `arrakis`, `giedi_prime`, `kaitain`, `caladan`, and `sigma_draconis_iv`. All five planet profiles are present in each server's config; change `server.planet` to select the world that backend creates. The generated world is named after the selected planet. Adjust its `planets.<planet>` settings for terrain, biome, surface, water, vegetation, ores, and spawn coordinates.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
plugins { java }
|
||||
|
||||
group = "com.example"
|
||||
version = "1.0.5"
|
||||
version = "1.0.6"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
|||
|
|
@ -267,6 +267,14 @@ public final class DuneTerrain extends JavaPlugin implements Listener {
|
|||
|
||||
@Override public void onEnable() {
|
||||
saveDefaultConfig();
|
||||
String formations = "planets.arrakis.darkstone-islands.";
|
||||
if (getConfig().getInt(formations + "min-radius") == 10
|
||||
&& getConfig().getInt(formations + "max-radius") == 18) {
|
||||
getConfig().set(formations + "min-radius", 45);
|
||||
getConfig().set(formations + "max-radius", 55);
|
||||
saveConfig();
|
||||
getLogger().info("Upgraded default Arrakis rock formations to about 100 blocks across in new chunks.");
|
||||
}
|
||||
getServer().getPluginManager().registerEvents(this, this);
|
||||
guildKey = new NamespacedKey("dunerealms", "guild");
|
||||
sietchLootIdKey = new NamespacedKey(this, "sietch-loot-id");
|
||||
|
|
@ -454,8 +462,8 @@ public final class DuneTerrain extends JavaPlugin implements Listener {
|
|||
String path = "planets.arrakis.darkstone-islands.";
|
||||
if (!plugin.getConfig().getBoolean(path + "enabled", true)) return;
|
||||
int spacing = Math.max(128, plugin.getConfig().getInt(path + "spacing", 750));
|
||||
int minRadius = Math.max(6, plugin.getConfig().getInt(path + "min-radius", 10));
|
||||
int maxRadius = Math.max(minRadius, plugin.getConfig().getInt(path + "max-radius", 18));
|
||||
int minRadius = Math.max(6, plugin.getConfig().getInt(path + "min-radius", 45));
|
||||
int maxRadius = Math.max(minRadius, plugin.getConfig().getInt(path + "max-radius", 55));
|
||||
int maxRise = Math.max(1, plugin.getConfig().getInt(path + "max-height", 14));
|
||||
int baseHeight = plugin.getConfig().getInt("planets.arrakis.terrain.base-height", 70);
|
||||
double variation = plugin.getConfig().getDouble("planets.arrakis.terrain.height-variation", 11);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,8 @@ planets:
|
|||
vegetation: {trees: false, tree-chance: 0.0, flowers-per-chunk: 0}
|
||||
oasis-trees: {enabled: true, spacing: 300, trunk-height: 7}
|
||||
# Nested flat terraces, hard capped at 3 levels and 5 blocks between levels.
|
||||
darkstone-islands: {enabled: true, spacing: 750, min-radius: 10, max-radius: 18, max-height: 14, max-plateaus: 3, plateau-interval: 5}
|
||||
# Radius 45-55 gives approximately 90-110 blocks across, including a rough edge.
|
||||
darkstone-islands: {enabled: true, spacing: 750, min-radius: 45, max-radius: 55, max-height: 14, max-plateaus: 3, plateau-interval: 5}
|
||||
ores: {min-y: -48, max-y: 48, vein-size: 5, COAL_ORE: 2, IRON_ORE: 2, COPPER_ORE: 1}
|
||||
giedi_prime:
|
||||
enabled: true
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
name: DuneTerrain
|
||||
version: 1.0.5
|
||||
version: 1.0.6
|
||||
main: com.example.duneterrain.DuneTerrain
|
||||
api-version: '1.21'
|
||||
load: STARTUP
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@ class RockPlateausTest {
|
|||
}
|
||||
|
||||
@Test void terracesAreFlatAndStepDownTowardEdge() {
|
||||
for (int count = 1; count <= 3; count++) {
|
||||
assertEquals(count, RockPlateaus.level(0, 18, count));
|
||||
assertEquals(0, RockPlateaus.level(18, 18, count));
|
||||
for (double radius : new double[]{18, 45, 50, 55}) for (int count = 1; count <= 3; count++) {
|
||||
assertEquals(count, RockPlateaus.level(0, radius, count));
|
||||
assertEquals(0, RockPlateaus.level(radius, radius, count));
|
||||
int previous = count;
|
||||
java.util.Set<Integer> levels = new java.util.HashSet<>();
|
||||
for (int sample = 0; sample <= 1800; sample++) {
|
||||
int level = RockPlateaus.level(sample / 100.0, 18, count);
|
||||
int level = RockPlateaus.level(sample * radius / 1800.0, radius, count);
|
||||
assertTrue(level <= previous && previous - level <= 1);
|
||||
levels.add(level);
|
||||
previous = level;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ A Dune-themed Minecraft Java plugin suite for **Paper 1.21.4 and Java 21**. Expl
|
|||
| Module | Version | Role |
|
||||
| --- | --- | --- |
|
||||
| DuneCore | 1.0.5 | Factions, stillsuits, sandworms, spice harvesting, sun exposure, water, politics, jobs, menus, and Guild announcements. |
|
||||
| DuneTerrain | 1.0.5 | Planet generation, Arrakis formations and landmarks, spice deposits, personal sietch caches, safe spawn, and the Guild navigator. |
|
||||
| DuneTerrain | 1.0.6 | Planet generation, Arrakis formations and landmarks, spice deposits, personal sietch caches, safe spawn, and the Guild navigator. |
|
||||
| DuneEss | 1.0.1 | Solaris economy through Vault, spice sales, Guild travel, help, and administrative travel/economy tools. |
|
||||
| DuneResourcePack.zip | Minecraft Java 1.21.4 | Desert Sniffer skin, haunted Fremen zombies, and spice-gold suspicious sand. |
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ For a planet used as Paper's primary world, configure its generator and biome pr
|
|||
## What is implemented
|
||||
|
||||
- Five playable factions: Fremen, Harkonnen, Corrino, Atreides, and Ordos, with homeworlds, passive abilities, faction-colored stillsuits, and a paid winged-stillsuit upgrade.
|
||||
- Arrakis dunes, sparse oasis trees, cave sietches with personal supplies, spice deposits, magma-marked blooms, and darkstone formations with **up to three flat plateaus and at most five blocks between levels**.
|
||||
- Arrakis dunes, sparse oasis trees, cave sietches with personal supplies, spice deposits, magma-marked blooms, and darkstone formations **about 100 blocks across, with up to three flat plateaus and at most five blocks between levels**. The old default sizes are automatically upgraded; already generated chunks keep their terrain.
|
||||
- Tagged spice harvesting and Solaris sales; CHOAM hourly quota contracts and a player-sponsored spice exchange with a 15% worker / 85% sponsor split.
|
||||
- Arrakis sun exposure, finite-water trading, imperial appointments, prototype politics and invasions, and optional PostgreSQL-backed permits and bounties.
|
||||
- **Visible Sniffer sandworms with native zombie AI**, provided by invisible Husk controllers. The Sniffer body can be fought and killed; its death produces a rich spice field and removes its controller.
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ The repository contains independent Gradle projects: `DuneTerrain` (world genera
|
|||
|
||||
## Rock formations
|
||||
|
||||
DuneTerrain 1.0.6 enlarges the default radius to 45-55 blocks, giving formations about 90-110 blocks across. Existing configs using the old 10/18 defaults are automatically upgraded on enable. Customized radii and already generated chunks are preserved.
|
||||
|
||||
New Arrakis darkstone formations have one to three concentric, sand-topped flat plateaus. Heights between plateaus are at most five blocks. The count and shape are deterministic across chunk boundaries. Configure `planets.arrakis.darkstone-islands.max-plateaus` and `plateau-interval` in DuneTerrain; the hard caps still apply to larger values. The existing `max-height` also limits total rise above the surrounding high ground. Existing generated chunks retain their terrain.
|
||||
|
||||
## Arrakis sightings
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -10,6 +10,16 @@ These assets were created with the built-in ImageGen tool for the Dune user manu
|
|||
| `sietch-panorama.png` | Wide sietch/reservoir chapter artwork. |
|
||||
| `item-icons-atlas.png` | 6x8 atlas: faction equipment, winged suits, core items, cache supplies and supporting objects. |
|
||||
| `menu-icons-atlas.png` | 4x4 atlas: Navigator and help-guide material icons. |
|
||||
| `expanded-formations.png` | Wide view of the new approximately 100-block-wide terraced formations. |
|
||||
| `spice-expedition.png` | Spice-bloom harvesting expedition panorama. |
|
||||
|
||||
## Expanded formation prompt
|
||||
|
||||
Premium Dune Minecraft field-manual panorama, 3:1 landscape with no text. A broad roughly circular dark basalt/blackstone mesa about 100 Minecraft blocks across but about 14 blocks tall, with exactly three sandy plateaus separated by four-to-five-block steps. Angular block geometry, sand caps, exposed darkstone walls, Arrakis dunes, a sparse oasis tree and a tiny orange-suited explorer for scale. Bird's-eye oblique view makes the footprint and levels clear. Warm sunrise ochre and charcoal, painted Minecraft concept art. No labels, UI, watermarks or invented buildings. The artwork is illustrative, not a terrain screenshot.
|
||||
|
||||
## Spice expedition prompt
|
||||
|
||||
Wide 3:1 Dune Minecraft panorama: an orange-suited Fremen with a dark netherite shovel beside a spice-gold suspicious-sand field. A magma cluster and glowstone center with modest spice dust suggest a newly erupted bloom. Distant desert-tan Sniffer-shaped worm and basalt formations, late-afternoon gold light, clear grounded perspective and painted block geometry. No typography, UI, watermarks, guns or invented cities. A manual illustration rather than a replacement game model.
|
||||
|
||||
## Cover prompt
|
||||
|
||||
|
|
|
|||
BIN
docs/artwork/expanded-formations.png
Normal file
BIN
docs/artwork/expanded-formations.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
BIN
docs/artwork/spice-expedition.png
Normal file
BIN
docs/artwork/spice-expedition.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
Loading…
Reference in a new issue

Staff