From b0542f982eaa363a915dc8fda28f83c7a32b2527 Mon Sep 17 00:00:00 2001 From: Logan Date: Mon, 28 Sep 2026 18:50:14 -0400 Subject: [PATCH] feat(pack): replace Xaero's map mods with the FTB Chunks minimap Removes the Xaero mapping suite -- Xaero's World Map, Xaero's Minimap, Xaero Train Map and the Waystones compatibility -- and enables the FTB Chunks minimap, so FTB Chunks provides all mapping. Xaero Train Map and the Waystones compat had to go with the maps: the former declares a required dependency on xaeroworldmap, and the latter references only xaero/common and xaero/minimap classes. Nothing in the pack declared a dependency on xaeros-minimap. The minimap needs an explicit config because FTB Chunks computes minimap.enabled once as !hasOtherMinimapMod() and then persists the result. With Xaero's Minimap installed that resolved to false and was written into players' configs, where it sticks, so removing the other minimap mod alone would not re-enable it. config/ftbchunks-client.snbt is the location the mod itself documents for modpack defaults, and unlike defaultconfigs/ it also overrides configs that already exist. .packwizignore moves from excluding config/ wholesale to config/* plus a negation, so this one modpack-default config ships while server config stays untracked. --- .packwizignore | 5 +++- config/ftbchunks-client.snbt | 16 +++++++++++++ index.toml | 24 ++++--------------- mods/xaero-train-map.pw.toml | 13 ---------- ...-map-waystones-compatibility-forge.pw.toml | 13 ---------- mods/xaeros-minimap.pw.toml | 13 ---------- mods/xaeros-world-map.pw.toml | 13 ---------- pack.toml | 2 +- 8 files changed, 25 insertions(+), 74 deletions(-) create mode 100644 config/ftbchunks-client.snbt delete mode 100644 mods/xaero-train-map.pw.toml delete mode 100644 mods/xaeros-minimap-world-map-waystones-compatibility-forge.pw.toml delete mode 100644 mods/xaeros-minimap.pw.toml delete mode 100644 mods/xaeros-world-map.pw.toml diff --git a/.packwizignore b/.packwizignore index d619f02..d97f20a 100644 --- a/.packwizignore +++ b/.packwizignore @@ -11,7 +11,10 @@ run.sh *.jar *.jar.log run.bat -config/ +# Server/runtime config is never tracked; only explicit modpack-default configs +# (e.g. the FTB Chunks client config) are shipped. +config/* +!config/ftbchunks-client.snbt kubejs/ defaultconfigs/ local/ diff --git a/config/ftbchunks-client.snbt b/config/ftbchunks-client.snbt new file mode 100644 index 0000000..bec3532 --- /dev/null +++ b/config/ftbchunks-client.snbt @@ -0,0 +1,16 @@ +# Onion MC modpack default. +# +# FTB Chunks computes "minimap.enabled" once as !hasOtherMinimapMod() and then +# persists the result. While Xaero's Minimap was in this pack that resolved to +# false and was written into players' configs, where it sticks -- removing the +# other minimap mod later does not re-enable it. Setting it explicitly here +# turns the FTB Chunks minimap on for everyone, including players whose config +# was already written with false. +# +# Players who want a different value can copy this to +# /local/ftbchunks-client.snbt, which is not overwritten on pack update. +{ + minimap: { + enabled: true + } +} diff --git a/index.toml b/index.toml index 46575d1..34fac24 100644 --- a/index.toml +++ b/index.toml @@ -1,5 +1,9 @@ hash-format = "sha256" +[[files]] +file = "config/ftbchunks-client.snbt" +hash = "6cbe2d3e5419a9ab0ded6f8d70f9be4a2cfb25f7a1d75c6a93fb4c1ed9e2329b" + [[files]] file = "mods/3dskinlayers.pw.toml" hash = "b3b67f83faf9dcc4985b7a13fa8affb71062461d271f80cc0958652df9f3126b" @@ -645,26 +649,6 @@ file = "mods/wings-of-fire.pw.toml" hash = "07b44e8f4c3e5dd41c13269005638e27d1fcf43e8fc96b2f08299ca3676313e3" metafile = true -[[files]] -file = "mods/xaero-train-map.pw.toml" -hash = "055508f48abfc3dc9705337d324fe839bbc88cd5cd06ce77f65b4bd2c976a983" -metafile = true - -[[files]] -file = "mods/xaeros-minimap-world-map-waystones-compatibility-forge.pw.toml" -hash = "637bc567eb5260d55ce89e6471c31e4369d454607f3d6f40139f7f7bdef90af9" -metafile = true - -[[files]] -file = "mods/xaeros-minimap.pw.toml" -hash = "64670072fa3b4db4a721769dd3d66a2865daac01c9a2480b9561675b1e9e9737" -metafile = true - -[[files]] -file = "mods/xaeros-world-map.pw.toml" -hash = "f8cc300d53ae8bf71d77124e6c46a5e85fe31654b39c5d73a1652a4d9c404af4" -metafile = true - [[files]] file = "mods/yacl.pw.toml" hash = "539f362e9e192cf3b2813e0dfdfc51a5e6814129c6e82a9733842529beea6242" diff --git a/mods/xaero-train-map.pw.toml b/mods/xaero-train-map.pw.toml deleted file mode 100644 index f7a8e76..0000000 --- a/mods/xaero-train-map.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Xaero Train Map" -filename = "xaerotrainmap-1.0.0.jar" -side = "client" - -[download] -url = "https://cdn.modrinth.com/data/Ov2r3aVY/versions/mgDpAA4x/xaerotrainmap-1.0.0.jar" -hash-format = "sha512" -hash = "6bdd0cc65492523cce939d2514632a60cbb38701ece15d4ab5caccc4a837fb28b0e1308698a0afe1921adb4f0ad0e6a69bf4aee68ab3277c47ea9b815d00068d" - -[update] -[update.modrinth] -mod-id = "Ov2r3aVY" -version = "mgDpAA4x" diff --git a/mods/xaeros-minimap-world-map-waystones-compatibility-forge.pw.toml b/mods/xaeros-minimap-world-map-waystones-compatibility-forge.pw.toml deleted file mode 100644 index 60aee3d..0000000 --- a/mods/xaeros-minimap-world-map-waystones-compatibility-forge.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Xaero's Minimap & World Map - Waystones Compatibility" -filename = "xaeros_waystones_compatibility-NeoForge-1.21.1-2.1.0.jar" -side = "both" - -[download] -url = "https://cdn.modrinth.com/data/7mLhyqIY/versions/k8wIAiWT/xaeros_waystones_compatibility-NeoForge-1.21.1-2.1.0.jar" -hash-format = "sha512" -hash = "440da659b1c406ff410841248a28adba60b73f3d91f513ba335b9e5d44b3e48ab63d5ecc86484ff1e3d1a4f7830ad7566fc1efec2a03eba3c958b414b61feea0" - -[update] -[update.modrinth] -mod-id = "7mLhyqIY" -version = "k8wIAiWT" diff --git a/mods/xaeros-minimap.pw.toml b/mods/xaeros-minimap.pw.toml deleted file mode 100644 index 0fbf37b..0000000 --- a/mods/xaeros-minimap.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Xaero's Minimap" -filename = "xaerominimap-neoforge-1.21.1-26.5.0.jar" -side = "both" - -[download] -url = "https://cdn.modrinth.com/data/1bokaNcj/versions/Q1tuMQBB/xaerominimap-neoforge-1.21.1-26.5.0.jar" -hash-format = "sha512" -hash = "0fde1066dd922ac0796d166ba1bf1b843873b8d8563da3a08777df54bb377ff6466096650c730ad1b96e0aecf2d8974cd87c32165edf6a30f6653840c3f99abf" - -[update] -[update.modrinth] -mod-id = "1bokaNcj" -version = "Q1tuMQBB" diff --git a/mods/xaeros-world-map.pw.toml b/mods/xaeros-world-map.pw.toml deleted file mode 100644 index 75dfef9..0000000 --- a/mods/xaeros-world-map.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Xaero's World Map" -filename = "xaeroworldmap-neoforge-1.21.1-1.46.0.jar" -side = "both" - -[download] -url = "https://cdn.modrinth.com/data/NcUtCpym/versions/9Ckiihkz/xaeroworldmap-neoforge-1.21.1-1.46.0.jar" -hash-format = "sha512" -hash = "fb14d11d66e0a6441981b18454c86534d8f534cd159ca19fa612950521788d858f37f18fe2093bb9b43ca0a88ae9af578eced5d140ff645a7681d7e452e8a268" - -[update] -[update.modrinth] -mod-id = "NcUtCpym" -version = "9Ckiihkz" diff --git a/pack.toml b/pack.toml index 5edac07..852bcf5 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "7d758d2aeb2da1f75c664ca98d55490febfede6c7dcd3db277595134350de168" +hash = "fc0b1116928e1279580fdd83a379fbde38554ccdf6e77e49ebc8a439e18e7fd2" [versions] minecraft = "1.21.1"