Files
hearth/script/wowmine-client-info/BUILD-EVIDENCE.md
T

7.8 KiB

Build evidence

wowmine rename build, 2026-11-18

Observed in /home/yukkop/pj/hearth/script/wowmine-client-info:

GRADLE_USER_HOME="$PWD/.gradle-home" sh gradlew --console=plain build

Asynchronous monitor mon_Y4H3XQR200C1WECD, terminal bash_5, reported BUILD SUCCESSFUL in 15s and watcher completed (exit code 0). Compilation, resource processing, JAR creation, and sources JAR creation ran. Gradle reported test NO-SOURCE; this project has no automated unit tests. Java was OpenJDK 21.0.7+6-nixos. Build versions remain Gradle 9.2.1, ModDevGradle 2.0.148, NeoForge 21.1.250, and addon 1.0.0.

build/libs/wowmine-client-info-1.0.0.jar
SHA-256 11500779009865f9f87d68ea54726e0c80db4cd2404ccd23d6307880a2705110

build/libs/wowmine-client-info-1.0.0-sources.jar
SHA-256 2310083a7a928f5e770b8c5c861d9e59d2d2b1475abb4a7d78e178b49bea97e9

jar tf inspected both archives: classes/sources use net/wowmine, the entrypoint is WowmineClientInfo, and the mixin resource is wowmine-client-info.mixins.json. javap -p -constants confirmed the renamed classes and wowmineClientInfo$title method. No old package or resource names remain in either archive inventory.

Scoped Bun assertions passed for JSON/TOML parsing, renamed mod/display/mixin identity, unchanged pinned client dependencies, client-only mixin isolation, absence of old source references, both archive inventories, and the old subtree containing only generated .gradle/ and build/ directories. The initial Python validation command could not run because python3 was absent; the validation was performed with installed Bun instead. Java/JSON editor diagnostics remain unavailable (jdtls/biome absent); the Java compiler and JSON/TOML parsers succeeded.

Source/text moves and edits used apply_patch. The unchanged binary wrapper JAR and existing .gradle-home/ dependency cache were relocated directly, because the text patch tool cannot move a binary JAR. Historical old build outputs and project caches remain under the old subtree, unused by this build. Old names below are historical evidence only, not compatibility aliases.

The runtime contract now reads config/wowmine-version.json. The pack builder must supply manifest name exactly wowmine; title and local login message still display that manifest value. No fallback to the old filename or mod ID was added. No GUI/gameplay, launcher, server, publisher, or production changes were performed. Runtime acceptance remains owned by the main task.

Historical pre-rename build

The following 2026-11-12 evidence is retained verbatim as historical evidence. Its old paths, artifact names, classes, and hashes describe that original build, not the renamed wowmine artifacts.

Observed on 2026-11-12 in /home/yukkop/pj/hearth/script/worldofsosal-client-info. This records an actual successful build, not a proposed command.

Command and result

After fetching the official Gradle v9.2.1 wrapper scripts and wrapper JAR:

GRADLE_USER_HOME="$PWD/.gradle-home" sh gradlew --console=plain build

The asynchronous monitor was mon_849BYA5S2BE0FF47, with underlying terminal session bash_5. Its completion notification reported watcher completed (exit code 0). A subsequent result receipt through bash_output on that monitor reported status: completed exit_code: 0.

Observed output:

> Task :compileJava
> Task :processResources
> Task :classes
> Task :jarJar NO-SOURCE
> Task :jar
> Task :sourcesJar
> Task :assemble
> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test NO-SOURCE
> Task :check UP-TO-DATE
> Task :build

BUILD SUCCESSFUL in 4m 49s
5 actionable tasks: 5 executed

Toolchain: OpenJDK 21.0.7+6-nixos, Gradle 9.2.1, ModDevGradle 2.0.148, NeoForge 21.1.250, NeoForm 1.21.1-20240808.144430. The wrapper verifies the Gradle distribution SHA-256 pinned in its properties. There was one build invocation; no subsequent rebuild.

Artifacts inspected

build/libs/worldofsosal-client-info-1.0.0.jar
SHA-256 841c6976fe9cdf783ecd4d48295f6ef042dff9cb65274bb6e1c917be31474a0f

build/libs/worldofsosal-client-info-1.0.0-sources.jar
SHA-256 be451a549dc70377f2c04eac90b5e80adb0eb08ea9ce6ab92a79c65125034dc9

jar tf confirmed the installable JAR contains:

  • PackInfo.class and its lazy-loading holder;
  • WorldOfSosalClientInfo.class;
  • mixin/MinecraftTitleMixin.class;
  • worldofsosal-client-info.mixins.json;
  • META-INF/neoforge.mods.toml.

No dependency libraries or server/network payload classes are bundled. javap -v on the compiled mixin confirmed Java class major version 65 (Java 21), the exact createTitle()Ljava/lang/String; injection selector, and CallbackInfoReturnable interaction in the compiled constant pool.

Exact API and control-flow inspection

The build generated build/moddev/artifacts/neoforge-21.1.250-sources.jar and neoforge-21.1.250.jar. Selected official sources were extracted into ignored build/api-source/ for inspection. These are generated verification inputs, not addon sources.

In the generated net/minecraft/client/Minecraft.java:

  • Line 467 passes this.createTitle() directly to virtualScreen.newWindow in the constructor. The hook therefore covers the first Minecraft window title, before joining a server.
  • Lines 716-720 define updateTitle() and the private, no-argument String createTitle() method. The original implementation handles a null connection, so no successful login is required.
  • Line 1064 updates the title during screen changes. Rejected connections can show a disconnect screen while retaining the injected metadata.
  • Lines 2134-2184 show disconnect teardown, including updateScreenAndTick(...) and updateLevelInEngines(null). Line 2242 updates the title from updateLevelInEngines.

In generated net/minecraft/client/multiplayer/ClientPacketListener.java:

  • handleLogin begins at line 394; line 432 calls ClientHooks.firePlayerLogin after player initialization. Inspection through the end of that method found no subsequent chat clearing.
  • handleRespawn begins at line 1102; line 1171 uses firePlayerRespawn. Dimension changes and respawn therefore do not use the login event.

The downloaded official neoforge-21.1.250-sources.jar confirms ClientHooks.firePlayerLogin posts LoggingIn at lines 722-723, while firePlayerRespawn posts Clone at lines 730-731. The ClientPlayerNetworkEvent source documents the main NeoForge event bus and logical-client side, and provides getConnection().

Generated ChatComponent.java, lines 178-185, confirms addMessage(Component) adds a local GUI message through its display queues and local log; it does not call a network sender. The addon calls that HUD API directly.

Official NeoForge 1.21.1 documentation was also read through Context7 and the official site for @Mod(dist = Dist.CLIENT), side isolation, [[mixins]], and client-side dependency declarations. References and the exact metadata schema are in README.md.

Scope and remaining runtime QA

Only script/worldofsosal-client-info/** was edited. No commits, production changes, server installation, publication, or pack metadata generation were performed.

No GUI runtime tests or automated unit tests were run. Gradle reports test NO-SOURCE; successful compilation is not gameplay evidence. Java and JSON editor diagnostics were unavailable because jdtls and biome are not installed; the actual Java compiler and resource packaging succeeded.

Main task owns the runtime acceptance plan in README.md: cold startup, pre-login rejection/disconnect title, one local network-login message, reconnection, no dimension/respawn duplication, no remote/server chat, missing/invalid metadata, and optional disposable dedicated-server no-op verification. The separate NeoForge bootstrap window before Minecraft is constructed is outside this Minecraft title hook.