A Weave mod for Lunar Client 1.8.9 that adds BedWars star info to the BedWars Teams UI.
This mod patches Lunar Client's BedWars team display so teammate rows can show:
- each teammate's BedWars star value
- an
MSTmarker for the most-starred recently seen teammate
It uses Lunar's existing LevelHead/BedWars level data and only changes the local UI rendering.
- no packet editing
- no combat or movement changes
- no server-side interaction
- no stat fetching from external APIs
At startup, the mod installs a Java instrumentation transformer and patches specific Lunar Client classes at runtime.
Current hooks do two main things:
- capture Lunar's cached BedWars level data
- inject extra text into the BedWars Teams overlay rows
Obfuscated Lunar targets are generated by the shared resolver tool.
- Minecraft:
1.8.9 - Loader: Weave
- Target client: Lunar Client
This project is built against Weave 1.3.3.
./gradlew buildOutput:
build/libs/bedwars-team-stars-0.1.0.jar
- Build the jar.
- Put it in:
~/.weave/mods/
./build.shThat builds the mod and copies the jar into ~/.weave/mods/.
Check whether the generated targets still match Lunar:
/Volumes/SSD/projects/lc-mod-tools/check.shResolve new targets, rebuild both mods, and overwrite both installed jars:
/Volumes/SSD/projects/lc-mod-tools/refresh.sh- A major Lunar UI rewrite can still require resolver updates.
- The repo contains debug/discovery scaffolding, but
DebugLogis currently a no-op, so no discovery log file is written right now. - Star parsing is based on the numeric content of Lunar's cached level text.
These JVM properties are currently used by runtime logic:
-DbedwarsStarsDebug.teammateWindowMs=3500
How long a teammate stays in the recent comparison window for the MST marker.
-DbedwarsStarsDebug.teamViewLogIntervalMs=5000
Present in code for throttled debug logging, but with the current no-op logger it has no visible effect.
src/main/java/dev/codex/bedwarsstars/BedwarsTeamStarsMod.java— Weave entrypointsrc/main/java/dev/codex/bedwarsstars/TeamViewDiscoveryTransformer.java— runtime bytecode patchessrc/main/java/dev/codex/bedwarsstars/TeamViewRuntimeHooks.java— star lookup and UI text logicsrc/main/java/dev/codex/bedwarsstars/LunarTargets.java— generated Lunar identifierssrc/main/java/dev/codex/bedwarsstars/DebugLog.java— currently disabled logger