From 1397324bf34bf4a87ae8656561e0fb8fb062b666 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 21 Nov 2026 12:05:29 +0000 Subject: [PATCH] feat: wowmine: pretify --- docs/minecraft-delight-v16.md | 194 ++++++++++++++++++ docs/minecraft-prism.md | 43 +++- .../system/neuro/minecraft/modpack-import.nix | 6 +- .../data/minecraft/tags/function/load.json | 3 + .../wowmine_rules/function/load.mcfunction | 2 + .../function/minimap_policy.mcfunction | 4 + .../neuro/minecraft/wowmine-rules/pack.mcmeta | 6 + nixos/system/neuro/minecraft/wowmine.nix | 12 +- script/build-prism-pack.py | 5 +- 9 files changed, 268 insertions(+), 7 deletions(-) create mode 100644 docs/minecraft-delight-v16.md create mode 100644 nixos/system/neuro/minecraft/wowmine-rules/data/minecraft/tags/function/load.json create mode 100644 nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/load.mcfunction create mode 100644 nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction create mode 100644 nixos/system/neuro/minecraft/wowmine-rules/pack.mcmeta diff --git a/docs/minecraft-delight-v16.md b/docs/minecraft-delight-v16.md new file mode 100644 index 00000000..a378be6a --- /dev/null +++ b/docs/minecraft-delight-v16.md @@ -0,0 +1,194 @@ +# wowmine v16 Delight selection + +Source: `minecraft/pack/wowmine-v16-delight-rules-r2.mrpack`. +SHA-256: `a7f474f1431719c6b11707fec05db8b571cb4d1b84d58c20962e771881b0109e`. + +The unbreakable netherite knife addon is required on both sides. Its upstream +client-side metadata is incorrect: a real connection failed registry sync without +the client JAR. The archive corrects that metadata; the JAR remains unmodified. + +Minecraft remains 1.21.1; NeoForge remains 21.1.250. Existing base mods keep their versions. +Selection covers dedicated Farmer's Delight addons and integrations for installed base mods, +plus required libraries. Integrations requiring new large gameplay mods are excluded. +Modrinth version metadata and actual JAR dependencies were checked; every downloaded JAR +was verified against its published SHA-512. Native server boots and the actual Java packwiz +installer were used to reject incompatible combinations. + +The pack removes FTB Ultimine, Create Ultimine, and their now-unused FTB Library. +Fresh clients hide the minimap. Updates preserve personal minimap, options and DH settings. +The separate `wowmine-rules` world datapack enables `mobGriefing` on load and reapplies +`xaerominimap:no_minimap` every second to everyone except Boss UUID +`1c189af5-2713-3fa6-bcc4-893dfadedfa4`. Boss can enable the minimap personally. +DH cache identities remain `wos` / `wos-w1`. + +## Added artifacts + +| Project | Version | +| --- | --- | +| `afterlifes-delight` | `1.1.2` | +| `algae-delight` | `0.2.1` | +| `arbitrary-delight` | `1.2.1` | +| `aures-farmers-structures` | `1.0.2` | +| `autochefs-delight` | `2.0.3+neoforge` | +| `bakersdelight` | `1.0.2` | +| `baldej-delights` | `0.2.0` | +| `barbeques-delight-forge` | `1.3.0` | +| `blockdonalds` | `0.3-1.21.1` | +| `bobo-lib` | `1.3.1-1.21.1` | +| `bountifulharvest` | `1.0.0` | +| `brewin-and-chewin` | `4.5.0+1.21.1-neoforge` | +| `caves-delights` | `1.3.1` | +| `chefs-delight` | `1.0.6-neoforge-1.21.1` | +| `choppers-delight` | `1.2.2` | +| `cocktails-delight` | `1.1.12` | +| `coffee-delight` | `1.4.1` | +| `cooksdelight` | `21.1.2` | +| `corn-delight` | `1.2.10-1.21.1` | +| `crabbers-delight` | `1.3.1` | +| `create-fd-dough` | `1.0.0` | +| `create-snickers` | `0.1.3` | +| `cuisine-delight` | `1.2.10` | +| `cultural-delights` | `0.19.8-1.21.1` | +| `cutt_promix` | `1.0-relase` | +| `cutting-delight` | `1.21.1-1.1.1` | +| `delight-lib` | `26.05.18-1.21-neoforge` | +| `delight-o-flight` | `1.21.1-1.4.3` | +| `delta-delight` | `1.3.926` | +| `display-delight` | `1.7.0` | +| `doris-delight` | `1.0.0` | +| `dough-slime-ball-recipe` | `1.0+mod` | +| `dungeons_delight` | `1.5.3` | +| `easters-delight` | `1.2.1` | +| `egg-delight` | `1.2` | +| `enders-delight` | `1.3.1` | +| `ends-delight` | `2.6.1+neoforge.1.21.1` | +| `even-more-delights` | `1.0.2` | +| `expanded-delight` | `0.1.4-neoforge` | +| `extradelight` | `2.7.2` | +| `farmers-cutting-everything` | `1.21.1-1.0.1` | +| `farmers-delight-contracts-feasts` | `1.0.3` | +| `farmers-delight-extended` | `1.21.1-0.2.2` | +| `farmers-delight-meal-mastery` | `1.1.2` | +| `farmers-delight-x-create-unbrekable-netherite-knife` | `3` | +| `farmers-knives` | `1.21.1-4.2.0` | +| `farmers-respite-unofficial-port` | `3.0.1` | +| `farmers-spell` | `1.0.7.1-1.21.1` | +| `fast-delights` | `0.3.1` | +| `fastfood-delight-unofficial` | `1.21.1-1.0.5` | +| `festive-delight` | `2.0.0` | +| `fizzy-delight` | `1.1` | +| `frights-delight` | `neoforge-1.21.1-1.4.8` | +| `fruits-delight` | `1.2.14` | +| `fungi-delight` | `1.3` | +| `hearth-and-harvest` | `1.4.3` | +| `immortalers-delight` | `1.21.1-neoforge-1.0.10` | +| `kazakh-delight` | `1.0.0` | +| `kitchen-projectiles` | `1.0.11+mc1.21.1+neoforge` | +| `korean-delight` | `1.0.0` | +| `kvass-delight` | `1.0.0` | +| `large-meals` | `1.21.1-1.0.1` | +| `legume-delight` | `1.21.1-1.4.0` | +| `luncheon-meat-s-delight` | `1.21.1-1.0.6` | +| `mangos-compat-delight` | `1.0.0` | +| `mexicans-delight` | `2.0.0` | +| `millet-delight` | `0.0.3-beta` | +| `mmlib` | `1.3.16-1.21.1` | +| `more-delight` | `26.05.20a-1.21-neoforge` | +| `my-nethers-delight` | `1.10.4.1` | +| `nearby-delight` | `1.6.0` | +| `new-years-delight-a-farmers-delight-add-on` | `nydelight-1.21.1-1.1.0` | +| `nomads-delight` | `1.0.2` | +| `oceans-delight` | `1.0.4` | +| `onion-onion` | `3.1.0` | +| `pantrywork` | `0.9.0+mc1.21.1` | +| `peruvians-delight` | `1.21.1-1.3.0` | +| `pizzadelight` | `1.21.1-2.0.2` | +| `provisioners-delight` | `0.9.31` | +| `ramadan-delight` | `1.7` | +| `rhubarb-delights` | `0.2` | +| `right-click-and-milk` | `1.0.3` | +| `roll-delight` | `1.3.0` | +| `runiclib` | `5.0.7` | +| `rustic-delight` | `1.7.1` | +| `seed-delight` | `1.0.1` | +| `slavic-delight` | `0.3.2` | +| `sniffers-sniffs-delights` | `neoforge-1.1+mc1.21` | +| `sodd-delight-a-farmers-delight-add-on` | `1.0.0` | +| `storage-delight` | `26.09.17-1.21-neoforge` | +| `sunflower-delight` | `1.0.2n` | +| `teyvats-delight` | `1.2.0` | +| `trailtales-delight` | `2.4` | +| `tweaks-delight` | `26.06.18-1.21-neoforge` | +| `ubes-delight` | `neoforge-1.21.1-0.4.15` | +| `valheim-delight` | `1.0.0` | +| `vanilla-delights` | `1.21.1-1.0.6` | +| `vintage-delight-kots` | `0.3.3` | +| `yafda` | `0.21` | +| `zena-desi-delight` | `1.21.1-0.2` | + +## Rejected during runtime checks + +These versions were not shipped. Existing base mods were not removed to accommodate them. + +| Project | Observed reason | +| --- | --- | +| `bowling-bulb` | Native loader requires absent Nirvana and EMI; broken access transformer | +| `compat-delight` | References missing FD ShepherdsPieBlock class | +| `cooks-collection` | Native loader declares incompatibility with Cultural Delights | +| `create-slice-and-dice-growth-accelerator` | References absent old SprinkleBehaviour class; installed4.3.3 uses new behaviour API | +| `crockercorp-delight` | Requires absent Minestuck classes; dependency omitted by author | +| `custombrewrecipes` | Unused after Vietnam addon exclusion | +| `delightful-creators` | JDI captured crash in generated cooking_fallback/mooncake_delight/cooking/milk_tea_mooncake: empty Create sequence ingredients | +| `delightful-fares` | Requires absent Bountiful Fares classes | +| `dumplings-delight-rewrapped` | References missing celery_seeds, breaking global SereneSeasons autumn crop tag | +| `engineers-delight` | Recipes require absent Immersive Engineering serializer; no supported base installed | +| `farmers_attributes` | General farming attribute API; no selected addon requires it | +| `farmers-cutting-collection` | Unconditional recipes for absent BetterEnd/BetterNether/Biomes O Plenty/Regions Unexplored bases | +| `farmers-delight-kacchi` | Common setup loads client RenderType on dedicated server | +| `farmers-heater` | Requires absent Central Heater gameplay mod | +| `farmers-pizzeria` | Overrides Brewin and Chewin pizza recipe with zero-byte invalid JSON | +| `froot-trees` | Malformed core berry tag JSON | +| `gan_delight` | Invalid JSON in core steamed pork recipe | +| `gensokyo-delight-youkais-feasts` | Creates c:butter -> c:foods/butter cycle with ExtraDelight, breaking shared butter tag | +| `horizon-delight` | Brewin compat initializes BnC foods before effect registry, crashing registration | +| `hybrid-api` | Unused after Hybrid addon exclusion | +| `hybrid-delights` | Only integrates absent Hybrid Labs gameplay mods | +| `lodestonelib` | Unused after Miners Delight rejection; Veil shader link failure | +| `miners-delight` | Required Lodestone shaders fail to link with installed Veil renderer | +| `mooncake-delight` | Core mooncake and pepper_salt tags reference dozens of missing own items | +| `muffins-oven-api` | Same eager BlockEntityType mixin; only needed by rejected Thai addon | +| `muffins-thais-delight` | BlockEntityType mixin eagerly reads unbound Apotheosis registry holder | +| `oaks-delight` | Invalid JSON in core cleaver crafting recipes | +| `sauce-delight` | Create6.0.10 fluid result codec incompatible | +| `syals-delight` | Required tags reference absent UnusualFoodsDelight/ManorsBounty/LTC2/GTCEu items | +| `touhoupixelcanteen` | Loads ClientTooltipEvent on dedicated server | +| `vegan-delight` | Create6.0.10 integration fluid/item recipe codec incompatible | +| `vietnams-delight-reborn` | Native loader discourages combination with Coffee Delight | +| `wizardry-delight` | Real client title shows Sodium incompatibility: replaces unsupported terrain shaders | + +Other exclusions include duplicate mod IDs, unsupported loader versions, and integrations +for absent bases such as Aether, Alex's Mobs, Aquaculture, Croptopia, Goety, Immersive +Engineering, Minestuck, and Twilight Forest. No dependency version validation was bypassed. + +## Verification scope and upstream data warnings + +Loader startup, real player login, registry synchronization, updater preservation, +and the minimap rule are tested. These checks do not certify every recipe or loot +rule supplied by the added projects. + +The private runtime still reports nonfatal upstream data errors: + +- Farmer's Knives emits recipes for knives from absent optional base mods. +- Farmer's Spell includes Create fluid recipes using the old `neoforge:fluid` + encoding and Botany Pots integration entries without that base mod. +- Dungeons Delight has several loot modifiers using the removed + `minecraft:random_chance_with_looting` condition; those modifiers are skipped. +- Even More Delights references `c:mushrooms` as an item in one cod recipe. +- Some addons emit unguarded optional recipes for Sawmill, Casualness Delight, + Vegan Delight, and Kaleidoscope Cookery when those mods are absent. +- Some recipe overrides use an unregistered `neoforge:never` condition. + +The server and clients remain able to load and connect. These data errors were +not hidden or repaired by modifying third-party JARs. The original base pack also +reports unrelated Design n' Decor loot-table and class-selection function errors. + diff --git a/docs/minecraft-prism.md b/docs/minecraft-prism.md index 7f35ff3f..9b239f90 100644 --- a/docs/minecraft-prism.md +++ b/docs/minecraft-prism.md @@ -14,7 +14,48 @@ The hectic-lab website, map proxy and game relay are retired. The user chose to remove its old download URLs without redirects; existing clients must use the canonical neuro updater URL. -## Active client: v15-wowmine +## Active client: v16-delight-rules-r2 + +Published on 2026-11-21 to the canonical neuro HTTPS8443 updater. Source: +`minecraft/pack/wowmine-v16-delight-rules-r2.mrpack`, SHA-256 +`a7f474f1431719c6b11707fec05db8b571cb4d1b84d58c20962e771881b0109e`. +Public immutable pack release: +`88dbb0bdb753f2de48cf7eb5e8a29d409e754edd8dbcb07a0ab9a086e96994bf`. +Published Prism ZIP SHA-256: +`5ee04475836833313f910a96a012edffdd5d4af7a98fd6be1c5210bbac5a714d`. + +The release adds 96 Delight addons/integrations and four required libraries. +FTB Ultimine, Create Ultimine and their exclusive FTB Library are removed. +The server has 228 checksum-verified JARs; a fresh client has 238. Minecraft +1.21.1 and NeoForge 21.1.250 remain pinned. Full selection, exclusions and known +upstream recipe/loot warnings: [minecraft-delight-v16.md](minecraft-delight-v16.md). + +Fresh clients default to a hidden minimap. Existing personal minimap preferences, +options and DH settings survive updates. The independent `wowmine-rules` +datapack enables `mobGriefing` and restricts the minimap to Boss's UUID. Real +private clients verified the ordinary-player restriction, Boss's visible map, +and map hiding when the restriction effect is present. + +Storage Box upload/full readback, all 682 public managed files, published +archives/checksums, fresh installation, upgrade, and the actual public HTTPS +Java updater passed. The public publisher rebuilds Prism ZIP timestamps, so +archive checks use the published checksum and compare every extracted payload +byte with the tested export. + +Native NixOS deployment retained 20 player/advancement/stat files byte-for-byte +and all 6809 original region files, world seed, spawn, name and access records. +The verified private cold backup is +`/srv/minecraft/backups/wowMineMap-before-v16-delight-rules-20261121/` +with `sha256.json` covering 8610 files. DH cache identities remain `wos` / `wos-w1`. +The modpack importer now assigns group `minecraft` and mode 0770 to every managed +ancestor directory, fixing AttributeFix's inability to create new mod namespaces. +The backup timer is active again. + +NixOS activation returned status 4 because the existing unrelated +`ollama-model-loader.service` fails. The new system profile, wowmine importer and +Minecraft server are active; the model loader was not changed. + +## Previous client: v15-wowmine The landing address is `https://wowmine.bfs.band:8443/wowmine/`. Published downloads and updater URLs use diff --git a/nixos/system/neuro/minecraft/modpack-import.nix b/nixos/system/neuro/minecraft/modpack-import.nix index 446de8fc..5a3afcac 100644 --- a/nixos/system/neuro/minecraft/modpack-import.nix +++ b/nixos/system/neuro/minecraft/modpack-import.nix @@ -288,7 +288,11 @@ safe_relative_path "$relative" || exit 1 source_file="$staging_dir/$relative" target_file="$server_dir/$relative" - install -d -m 0770 -g minecraft "$(dirname "$target_file")" + relative_dir="$(dirname "$relative")" + while [ "$relative_dir" != "." ]; do + install -d -m 0770 -g minecraft "$server_dir/$relative_dir" + relative_dir="$(dirname "$relative_dir")" + done install -m 0660 -g minecraft "$source_file" "$target_file" done < "$new_managed_paths" diff --git a/nixos/system/neuro/minecraft/wowmine-rules/data/minecraft/tags/function/load.json b/nixos/system/neuro/minecraft/wowmine-rules/data/minecraft/tags/function/load.json new file mode 100644 index 00000000..0386ee1f --- /dev/null +++ b/nixos/system/neuro/minecraft/wowmine-rules/data/minecraft/tags/function/load.json @@ -0,0 +1,3 @@ +{ + "values": ["wowmine_rules:load"] +} diff --git a/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/load.mcfunction b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/load.mcfunction new file mode 100644 index 00000000..994a5f67 --- /dev/null +++ b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/load.mcfunction @@ -0,0 +1,2 @@ +gamerule mobGriefing true +function wowmine_rules:minimap_policy diff --git a/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction new file mode 100644 index 00000000..e5d65ef0 --- /dev/null +++ b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction @@ -0,0 +1,4 @@ +# Boss is exempt by UUID; the client may still hide its minimap by preference. +effect give @a[nbt=!{UUID:[I;471374581,655572902,-1127970499,-86057052]}] xaerominimap:no_minimap infinite 0 true +execute as @a[nbt={UUID:[I;471374581,655572902,-1127970499,-86057052]}] run effect clear @s xaerominimap:no_minimap +schedule function wowmine_rules:minimap_policy 20t replace diff --git a/nixos/system/neuro/minecraft/wowmine-rules/pack.mcmeta b/nixos/system/neuro/minecraft/wowmine-rules/pack.mcmeta new file mode 100644 index 00000000..3c97e882 --- /dev/null +++ b/nixos/system/neuro/minecraft/wowmine-rules/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 48, + "description": "wowmine: minimap access and mob griefing rules" + } +} diff --git a/nixos/system/neuro/minecraft/wowmine.nix b/nixos/system/neuro/minecraft/wowmine.nix index 63e7a3a2..ed93a12b 100644 --- a/nixos/system/neuro/minecraft/wowmine.nix +++ b/nixos/system/neuro/minecraft/wowmine.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - packVersion = "v15-wowmine"; + packVersion = "v16-delight-rules-r2"; serverDir = "${config.services.minecraft-servers.dataDir}/wowMineMap"; serverMotd = "wowmine | Warcraft"; in @@ -21,7 +21,7 @@ in remotePath = "minecraft/pack/wowmine-${packVersion}.mrpack"; archiveName = "wowmine.mrpack"; cacheDir = "/var/lib/minecraft-modpacks/wowmine"; - archiveSha256 = "6c97a4b3c5f82c055b7de4ebfbda84ab941a55128753485eadd47e8266ec3b43"; + archiveSha256 = "a7f474f1431719c6b11707fec05db8b571cb4d1b84d58c20962e771881b0109e"; expectedDependencies = { minecraft = "1.21.1"; neoforge = "21.1.250"; @@ -34,10 +34,14 @@ in serverMotd; systemd.services.minecraft-server-wowMineMap.preStart = - import ./wowmine-settings.nix { + (import ./wowmine-settings.nix { inherit pkgs serverDir; namesOnly = true; - }; + }) + '' + ${pkgs.coreutils}/bin/mkdir -p "${serverDir}/world/datapacks/wowmine-rules" + ${pkgs.coreutils}/bin/cp -rT --no-preserve=mode \ + ${./wowmine-rules} "${serverDir}/world/datapacks/wowmine-rules" + ''; # Import the map before writing modpack configuration into the same server. systemd.services.minecraft-modpack-import-wowmine = { diff --git a/script/build-prism-pack.py b/script/build-prism-pack.py index f1a22577..5e8532e0 100644 --- a/script/build-prism-pack.py +++ b/script/build-prism-pack.py @@ -109,7 +109,10 @@ def main(): raise ValueError('Review unexpected override: ' + name) if name in destinations: raise ValueError('Override duplicates downloaded mod: ' + name) - write(name, z.read(item), preserve=name in ('options.txt', 'config/DistantHorizons.toml')) + write(name, z.read(item), preserve=name in ( + 'options.txt', 'config/DistantHorizons.toml', + 'config/xaero/minimap/profiles/default.cfg', + )) write('config/wowmine-version.json', (json.dumps(pack_info, indent=2) + '\n').encode()) index = 'hash-format = "sha256"\n' for entry in sorted(entries.values(), key=lambda e: e['file']):