Public: anyone can read this; the crew can change it.

Games survival step 3c: a vein-miner mod in the quality set #18177

opened this

Merged 6h 37m ago, live in production

set:quality now includes a vein-miner mod, but the slug veinminer is my guess and I couldn't check it against Modrinth. It is also a slug, not the project id the issue asked for. My sandbox blocks api.modrinth.com, so I couldn't look up a real Fabric vein miner.

Notes

opened this

set:quality now includes a vein-miner mod, but the slug veinminer is my guess and I couldn't check it against Modrinth. It is also a slug, not the project id the issue asked for.

My sandbox blocks api.modrinth.com, so I couldn't look up a real Fabric vein miner. A wrong slug fails safely, because the set is optional: the plan prints "Left out veinminer: …" and installs the rest. Someone with Modrinth access should confirm the slug and, if a project id is wanted, swap it in src/games/mod_sets.ts.

What changed

  • src/games/mod_sets.ts: veinminer is added to the QUALITY slugs, with a "why" line saying it is skipped when there is no build for the server's version.
  • docs/features/game-mods.md: the quality-set paragraph names it.
  • test/game-mods.test.ts: a fake Veinminer project and version, plus a test that QUALITY.slugs holds it and a set:quality plan locks it as a top-level install and prints "Adds Veinminer 1.2.0".

Checks

  • bun test test/game-mods.test.ts passes (34 tests) and bun x tsc --noEmit is clean.
  • bun scripts/gate.ts passed after --fix rewrapped a comment, which I committed.

What I did not do

  • No new page, terminal or MCP code. All three build a set's members from QUALITY, so the mod shows up on each without further changes. The commit says "No door" for that reason.
  • No Essential Commands-style caution line for Veinminer.

To try it Open a Fabric server's mods page with ?add=set:quality. In the terminal press q. In MCP call mods_install with project: "set:quality".

🤖 Generated with Claude Code

Closes #18152

3 earlier comments
commented

set:quality now includes a vein-miner mod, but the slug veinminer is my guess and I couldn't check it against Modrinth. It is also a slug, not the project id the issue asked for.

My sandbox blocks api.modrinth.com, so I couldn't look up a real Fabric vein miner. A wrong slug fails safely, because the set is optional: the plan prints "Left out veinminer: …" and installs the rest. Someone with Modrinth access should confirm the slug and, if a project id is wanted, swap it in src/games/mod_sets.ts.

What changed

  • src/games/mod_sets.ts: veinminer is added to the QUALITY slugs, with a "why" line saying it is skipped when there is no build for the server's version.
  • docs/features/game-mods.md: the quality-set paragraph names it.
  • test/game-mods.test.ts: a fake Veinminer project and version, plus a test that QUALITY.slugs holds it and a set:quality plan locks it as a top-level install and prints "Adds Veinminer 1.2.0".

Checks

  • bun test test/game-mods.test.ts passes (34 tests) and bun x tsc --noEmit is clean.
  • bun scripts/gate.ts passed after --fix rewrapped a comment, which I committed.

What I did not do

  • No new page, terminal or MCP code. All three build a set's members from QUALITY, so the mod shows up on each without further changes. The commit says "No door" for that reason.
  • No Essential Commands-style caution line for Veinminer.

To try it Open a Fabric server's mods page with ?add=set:quality. In the terminal press q. In MCP call mods_install with project: "set:quality".

🤖 Generated with Claude Code

commented

I merged main into the branch and pushed it. set:quality now holds both Sleep Warp, which landed on main meanwhile, and the vein miner.

The conflicts were in docs/features/game-mods.md, src/games/mod_sets.ts and test/game-mods.test.ts. I kept both sides in each. The set's description, "why" lines and doc paragraph name both mods. The test file has both fake projects and versions.

bun test test/game-mods.test.ts passes (37 tests), bun x tsc --noEmit is clean, and the gate passed.

  • Version hash: Sleep Warp and Veinminer's fake versions both used the hash 2e in the test file, so I gave Veinminer 2f.
  • Slug unconfirmed: veinminer is still my unverified guess. My sandbox can't reach Modrinth, so someone with access should confirm it.
  • Not run: I ran only the tests for this change, not the full suite. The forge runs the full check on the push.

🤖 Generated with Claude Code

commented

The blocking point is still open: the Veinminer slug is unverified, so this pull should not merge yet. My sandbox can't reach api.modrinth.com (the request was denied), so I couldn't look up a real Fabric vein miner. I won't pin an id from memory, which would repeat the guess you flagged.

slugs still has veinminer. The fake project in test/game-mods.test.ts (VMid0001, slug veinminer, "Veinminer") and the "Veinminer:" why line carry the same guess.

Someone with Modrinth access needs to do these three things:

  1. Choose a Fabric vein miner and replace veinminer in QUALITY.slugs in src/games/mod_sets.ts with its real slug or project id.
  2. Set the test's fake project to the same id, slug and title, with games and loaders matching what the mod really supports.
  3. Put the real title in the why line and in docs/features/game-mods.md, and replace the placeholder behaviour wording in step 4 below with what the mod actually does.

I changed these:

  1. Issue numbers: the trailing (#18152) is gone from the why line, and , #18152 is gone from the doc paragraph.
  2. Wording: I removed "hold the key" because I can't tell what the real mod does. The line now says mining one block of an ore or log vein breaks the rest, that the trigger is the mod's own setting, and that it is skipped when there is no build.
  3. Left-out test: the vein-miner test now plans against Fabric 1.21.8, where the fake veinminer has no version. It asserts that veinminer is not locked and that the plan says "Left out veinminer: Veinminer has no version for Fabric 1.21.8."
  4. Commit and checks: the commit title keeps the "Direction: … (#18152)" form. test/game-mods.test.ts passes (37 tests), tsc is clean and gate --fix changed nothing. I did not run the other suites the check lists (dead code, process-wide state) or bun scripts/design-lint.ts; the forge's check will.
commented

I merged main into the branch and pushed. The branch merges cleanly again.

The only conflict was the "Quality of life" paragraph in docs/features/game-mods.md. I kept this branch's version, which names Veinminer, and added main's new set:admin paragraph (LuckPerms and Ledger) beside it unchanged. src/games/mod_sets.ts and test/game-mods.test.ts merged without conflicts.

After the merge, tsc is clean and test/game-mods.test.ts passes (40 tests). I did not run the rest of the suite; the forge's check does that on the push.

The earlier blocker is still open. veinminer is still an unverified Modrinth slug, because my sandbox can't reach api.modrinth.com. Someone with Modrinth access needs to replace it in QUALITY.slugs and make the test's fake project and the why and doc wording match the real mod before this merges.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs