forked from unimatrix/web
92 lines
5.4 KiB
Markdown
92 lines
5.4 KiB
Markdown
# Planet material packs · Java Edition
|
||
|
||
Six ready-to-publish material layers: five distinct planets and a neutral Vaerkring port.
|
||
The ordinary Minecraft block IDs, recipes, drops and mechanics remain unchanged.
|
||
The same stone block has a different texture on each planet. The packs deliberately
|
||
contain **only** `minecraft/textures/block` and `minecraft/textures/item` assets;
|
||
no Dune item definitions, GUI fonts, screens, models, mobs or equipment overrides.
|
||
The three `dried_kelp_*` faces used by Network Artwork v1 as the Dune spice
|
||
carrier are explicitly excluded, even though they use vanilla texture paths.
|
||
Newer vanilla materials missing from the upstream set retain the client's own textures.
|
||
|
||
## Art direction and source
|
||
|
||
The existing [planet descriptions](https://www.dunerealms.com/races.html) and
|
||
`DuneTerrain` profiles are authoritative:
|
||
|
||
| Planet | Materials | Stone texture |
|
||
| --- | --- | --- |
|
||
| Arrakduin | Warm granite, sandstone masonry, coarse earth, dry acacia timber | Granite |
|
||
| Kaladam | Wet coastal andesite, mossy ruins, coarse jungle soil, dark timber | Andesite |
|
||
| Giedermark | Industrial blackstone, basalt, cracked dark masonry, heavy timber | Blackstone |
|
||
| Kaiterhof | Pale dressed stone, quartz-like court masonry, light birch timber | Polished diorite |
|
||
| Sigmadraken IV | Cold grey rock, snow and ice, northern timber | Stone |
|
||
| Vaerkring | Neutral shared craft style | Stone |
|
||
|
||
These are visual mappings, not new block types. `profiles.json` lists every
|
||
planet-specific substitution. Ordinary swords, tools, food and other base items
|
||
use the shared 16-pixel style on every planet, preserving their recognisability.
|
||
The original pixels are retained; no shaders, OptiFine, client mods or AI art required.
|
||
|
||

|
||
|
||
Base: **Pixel Perfection Community Edition**, XSSheep and community contributors,
|
||
<https://github.com/Athemis/PixelPerfectionCE>, pinned commit
|
||
`28e38cab7c1f03f86364ef704f705bebcc13cb3d`.
|
||
Its block/item art is vendored in `pixel-perfection-ce/`, with the complete
|
||
CC-BY-SA-4.0 license and original upstream README. The extracted textures and
|
||
our material mappings remain CC-BY-SA-4.0. Each distributable includes credit,
|
||
source URL, source revision, changes and the license. This licensing applies
|
||
to these art packs, not the unrelated Dune artwork or plugin source code.
|
||
Upstream's orphan `rail_golden_powered.png.mcmeta` is retained in the source
|
||
snapshot but omitted from releases because its matching PNG does not exist.
|
||
|
||
## Build and verify
|
||
|
||
From the repository root, Node 22 or newer, no third-party npm dependencies:
|
||
|
||
```sh
|
||
node tools/build-planet-texture-packs.mjs
|
||
node --test tools/build-planet-texture-packs.test.mjs
|
||
```
|
||
|
||
`release-v1/` contains six ZIPs, SHA-1/SHA-256/size manifest and generated YAML.
|
||
Rebuilds use fixed entry timestamps and sorted paths. Use the same Node/zlib
|
||
version for exact archive-byte reproduction; another compressor may change hashes.
|
||
Every asset name and PNG signature, animation companion, ZIP round-trip,
|
||
hash pin and cross-planet stone distinction is checked. The resource-pack
|
||
format range follows the existing network pack: 64–97.
|
||
|
||
When rebuilding a release, copy `release-v1/planet-textures.yml` to
|
||
`src/main/resources/planet-textures.yml`. Publish a new immutable version and
|
||
new pins if any distributed bytes change. Never overwrite a published pinned ZIP.
|
||
|
||
## Activation after merge/deployment
|
||
|
||
1. Publish all six ZIPs under their exact `/downloads/` URLs in `manifest.json`.
|
||
Verify their SHA-1/SHA-256 before enabling them.
|
||
2. Install the built `DunerealmsGUI.jar` on each Java Paper backend.
|
||
3. Set `enabled: true` in `plugins/DunerealmsGUI/planet-textures.yml` on each
|
||
backend and restart the plugin/server normally. Existing local config is
|
||
preserved. Defaults remain disabled until the downloads are published.
|
||
4. Standard canonical and public world aliases are included. For a backend
|
||
whose world is literally `world`, add an exact mapping under `worlds`, e.g.
|
||
`world: caladan`. Nether/End and unrecognised worlds remove this material
|
||
layer instead of inheriting the previous planet's textures.
|
||
|
||
The listener uses one stable pack UUID across the network, replaces only that
|
||
layer on join/world change, skips repeated offers for the same planet and
|
||
removes stale layers at unknown worlds or disabled backends. Other pack UUIDs
|
||
remain intact. Downloads are optional: declining preserves ordinary vanilla
|
||
materials. Minecraft caches each immutable ZIP, but switching planet packs
|
||
still causes a client resource reload; it is not a zero-cost palette switch.
|
||
|
||
Java packs are skipped for Floodgate players. A Bedrock/Geyser conversion is
|
||
not included or claimed. Live client rendering and proxy-transfer verification
|
||
must follow activation; local compilation is not that verification.
|
||
|
||
## Revision 2
|
||
|
||
All active material layers share low-contrast flat sand based on the credited Luanti tile. Spice and red sand retain its exact grain at 93% brightness. Flat normal maps and rough specular maps suppress relief from lower-priority shader packs. Kaitain uses warm gold, Giedi Prime polluted grey-brown, Caladan soft sand; the other planets retain matching regional palettes.
|
||
|
||
Two separate dimension profiles are included: `giedi_prime_nether` uses soot-dark industrial masonry; `sigma_draconis_iv_the_end` uses pale cold stone and existing violet End materials. Only exact configured dimension aliases select them. No terrain, block IDs, drops or dimension generation are changed.
|

Staff