Skip to content

v26.1-Alpha.4 — Stat filtering + experimental 1.12

Pre-release
Pre-release

Choose a tag to compare

@StarsailsClover StarsailsClover released this 31 Aug 17:44
· 7 commits to v26.1 since this release
v26.1-Alpha.4
fd4b347

BCDebugJavaAgent v26.1-Alpha.4

Pre-Release — Alpha builds are functional but unstable. Do not run in production environments.

Highlights

/methods query filtering — automation-friendly statistics access:

GET /methods?contains=brigadier&min=100&limit=3
  • contains — class-name substring match
  • min — entry-count floor
  • limit — row cap, entries descending
  • Available on both control-plane frontends; unfiltered calls unchanged.

Experimental 1.12 profile (hookProfile=1.12):

  • New MC112HookProvider with five MCP-named hooks: Minecraft.runTick()V,
    Minecraft.loadWorld(WorldClient), WorldClient.tick()V,
    GameRenderer.render(FJ)V, MinecraftServer.tick()V.
  • Requires a user-supplied MCP-derived ProGuard mapping (mappingsFile=) —
    piston-meta publishes nothing for 1.12, so mappingsAuto correctly
    refuses; the provider logs an EXPERIMENTAL warning at registration.
  • LegacyHookProviderBase refactored: subclasses supply their hook sets via
    addHooks (per-era sets), enabling the 1.12 split.

Validation

Live on MC 1.21.1 dedicated server:

STATUS: v26.1-Alpha.4, totalHooks: 5        (1.12 profile, not the 8-hook legacy set)
METHODS: contains=brigadier&min=100&limit=3 → exactly 3 rows, entries-desc
MIRROR: MC-1.12-Hooks is EXPERIMENTAL ... (5 hooks)

49 unit tests green (provider exclusivity now covers four profiles).

Build Information

Item Value
Artifact bcdebug-javaagent-v26.1-Alpha.4.jar (bytecode 52 — JDK 8+)
Commit fd4b347 (SSH-signed, Verified)
Tag v26.1-Alpha.4 (SSH-signed, Verified)

安装说明(中文)

  1. 下载 bcdebug-javaagent-v26.1-Alpha.4.jar。
  2. 统计过滤:/methods?contains=net/minecraft/server&min=500&limit=20。
  3. 1.12 实验档需自备 MCP 派生映射:hookProfile=1.12,mappingsFile=<转换后的proguard.txt>。
  4. Alpha 版本不稳定,请勿用于生产环境。

MIT License — Copyright (c) 2026 BlockConnect